Amazon coding question, reconstructed from 6 candidate reports (October 2025 to October 2026). Tests: rate limiting and time-window counts; stateful class design. Candidates reported 4 follow-ups. The write-up includes a Python solution that passes 7 test cases.