xAI·Software Engineer·Technical Phone Screen
Jun 2026
Did a technical phone screen for a software engineer role at xAI. One coding problem, simulation-style, not super hard on the surface but the edge cases around concurrent orders and same-timestamp ordering tripped me up more than I expected.
- Given a list of events where a delivery driver accepts and fulfills orders, calculate the driver's total pay. Pay is $0.30 per minute multiplied by the number of currently active orders, and events at the same timestamp must process all accepts before fulfills.
“I got the basic interval-sweep approach pretty quickly: sort events, track active order count, multiply duration by count by rate.” The rest of the author's notes on Software Engineer interview at xAI, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post