Snowflake phone-screen question, reconstructed from 2 candidate reports (April 2026 to August 2026). Tests: rate limiting and time-window counts; time-based state (expiry, TTL, snapshots). Candidates reported 1 follow-up. The write-up includes a Python solution that passes 11 test cases.