xAI coding question, reconstructed from 2 candidate reports (September 2025 to April 2026). Tests: rate limiting and time-window counts; concurrency and thread safety. The write-up includes a Python solution that passes 7 test cases.
The full problem statement — full requirements, constraints, and edge cases
Approach and trade-offs — what passing candidates did, and the mistakes that sink people
Unlock the full xAI catalog
Full problem statements, candidate-reported follow-ups, and walkthroughs — for every xAI question.