cswork / companiesOpen practice workspace

BY CATEGORY · OpenAI

OpenAI Coding & algorithms Interview Questions

Prepare for OpenAI Coding & algorithms questions: 27 interview questions from real interviews. Read, practise and mock them on CSWork.

Questions
27
Updated
2026-09-28

Interview questions 27

Filter in the workspace
  1. CodeLeftmost-Fit Memory Allocator: Allocate Consecutive Units and Free by OwnerHard
  2. CodeOrder Tasks with Dependencies Using a Deterministic Topological SortMedium
  3. CodeGenerate Data Labeling SchedulesMedium
  4. CodeImplement follow graph with snapshots and recommendationsMedium
  5. CodeImplement a memory allocator with malloc/freeMedium
  6. CodeImplement credit ledger with out-of-order timestampsHard
  7. CodeImplement map serialization and deserializationMedium
  8. CodeImplement a persistent sharded key-value storeHard
  9. CodeImplement IPv4 iterators and CIDR expansionMedium
  10. CodeImplement toy-language types and generic substitutionMedium
  11. CodeSimulate turn-based monster team battleMedium
  12. CodeCompute time to infect all cellsHard
  13. CodeImplement KV store serializationMedium
  14. CodeImplement KV store and plan type conversionsMedium
  15. CodeImplement expiring credit ledgerMedium
  16. CodeImplement compile-time function type verificationMedium
  17. CodeImplement an expiring GPU-credit managerMedium
  18. CodeImplement a Simulated Memory AllocatorMedium
  19. CodeDesign a persistent key-value storeMedium
  20. CodeImplement in-memory KV store with serializationMedium
  21. CodeImplement a GPU credit managerMedium
  22. CodeManage GPU Credits with ExpirationMedium
  23. CodeFind earliest supporting dependency versionMedium
  24. CodeMerge overlapping time intervals efficientlyMedium
  25. CodeImplement an expiring GPU credits ledgerMedium
  26. CodeImplement a serializable key-value storeMedium
  27. CodeImplement in-memory database insert and delete operationsHard