OpenAI·Software Engineer·Technical Phone Screen
May 2026
Coding round at OpenAI for a Software Engineer position. The question was a deep dive into serialization design, not just slapping a map together, and they wanted the full picture: error handling, binary format justification, complexity analysis, and tests.
- Build an in-memory key-value store in C++ with put, get, and erase operations, plus serialize and deserialize methods that encode and restore the full store state using only provided byte I/O helpers. Your binary format must handle arbitrary bytes and Unicode, be versioned and length-prefixed, and gracefully reject malformed or truncated input. Also explain your complexity, format trade-offs, and provide unit tests.
“This looked like a straightforward map wrapper until the serialization constraints hit.” The rest of the author's notes on Software Engineer interview at OpenAI, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post