Sesame·Machine Learning Engineer·Technical Phone Screen
May 2026
Sesame AI had me implement a ring buffer from scratch, which sounds like a classic CS exercise until you're actually in it and realize how many edge cases there are. The technical depth expected here felt more systems-level than I expected for an ML role.
- Implement a circular buffer with a fixed byte capacity. It should support writing bytes (with some overflow policy), reading up to N bytes from the front, and reporting how many bytes are currently readable. Walk through how you handle wraparound and edge cases, and briefly discuss thread safety.
“The wraparound part I got fine, modulo arithmetic is straightforward once you draw it out.”