xAI coding question, reconstructed from 3 candidate reports (September 2025 to January 2026). Tests: concurrency and thread safety. The write-up includes a Python solution that passes 3 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.