OpenAI coding question, reconstructed from 5 candidate reports (March 2026 to July 2026). Tests: stateful class design; heaps, top-k and greedy scheduling. Candidates reported 2 follow-ups. The write-up includes a Python solution that passes 4 test cases.