OpenAI coding question, reconstructed from 28 candidate reports (January 2025 to August 2026). Tests: in-memory database or key-value store; serialization and encoding. Candidates reported 3 follow-ups. The write-up includes a Python solution that passes 6 test cases.