Anthropic online assessment question, reconstructed from 12 candidate reports (May 2025 to July 2026). Tests: in-memory database or key-value store; time-based state (expiry, TTL, snapshots); stateful class design. The write-up includes a Python solution that passes 8 test cases.