xAI logo

xAI Interview Question Bank

xAI's loop is built around speed and founder-style intensity: a single 15-minute video screen often gates the entire pipeline, the take-home assumes you will use Cursor / Claude Code, and onsite rounds run in person in Palo Alto with offers decided minutes after the final round. Bars are calibrated less for algorithmic novelty than for raw shipping velocity, low-level systems instincts (concurrency, GPU/inference, distributed numerics), and willingness to work 60–100 hour weeks RTO5.

Coding problems
22
Before you start
Showing 24 of 24
Coding·15 min
LowFree preview

Multithreaded BankAccount Race-Condition Bug Hunt

Inside a 15-minute video screen, the interviewer pastes a small `BankAccount` class with a buggy `deposit` method and asks you to find and fix every concurrency issue. The base bug is a classic read-sleep-write race; the follow-up presses you to rewrite the class without modifying it in place (subclass / wrap), which is where most candidates stumble.

SWE
Infra Eng
concurrency
threading
race-condition
python
+1
3 related discussions

xAI Featured Guides