OpenAI coding question, reconstructed from 29 candidate reports (January 2025 to March 2026). Tests: in-memory database or key-value store; parsing structured text. Candidates reported 6 follow-ups. The write-up includes a Python solution that passes 7 test cases.