Back to Problems
xAI ML Interview Questions
27 real machine-learning interview questions reported from xAI.
Practice on the problems board →Design ChatGPT: A Conversational LLM Serving Platform
System Design for MLAsync Comparator for Answer Ranking Context
LLMs & Prompt EngineeringGame of Life
Coding & Leetcode-style QuestionsDynamic Batch Inference
LLMs & Prompt EngineeringTwitter Insight Platform (CodeSignal Take-Home)
MLOps & DeploymentDistributed Matrix Multiplication — DP and FSDP
Coding & Leetcode-style QuestionsResumable Iterator with Save / Restore State
Coding & Leetcode-style QuestionsFlatten / Unflatten Nested Python Structure
Coding & Leetcode-style QuestionsCheckers Game — Backend System Design
Coding & Leetcode-style QuestionsTwitter Spaces — Aggregate Active Hours
Coding & Leetcode-style QuestionsMaximum Distinct Integers After ±k Offset
Coding & Leetcode-style QuestionsGPU Node Group Test — Identify Bad Nodes
Coding & Leetcode-style QuestionsMock-LLM Inference Engine — Dynamic Batching
Coding & Leetcode-style QuestionsMultithreaded BankAccount Race-Condition Bug Hunt
Coding & Leetcode-style QuestionsIn-Memory Database — Levels 1–4 (TTL + Backup/Restore)
Coding & Leetcode-style QuestionsNotification System — Push to Followers on New Post
System Design for MLRate Limiter — Inbound + Outbound
System Design for MLMost Challenging Project + Why xAI
BehavioralAgentic Workflow for 1-Hour Movie Generation
System Design for MLProcess vs Thread (Verbal CS Fundamentals)
Coding & Leetcode-style QuestionsDistributed Matrix Multiplication with Data Parallel and FSDP Simulation
System Design for MLFlatten a Nested Python Structure (lists/dicts/tuples) into a List of Integers
Coding & Leetcode-style QuestionsUnflatten: Refill a Nested Template Structure with Values from a Flat List
Coding & Leetcode-style QuestionsTwitter Insight Platform with Rate Limiting and Dockerization
System Design for MLIn-Memory Database Implementation
Coding & Leetcode-style QuestionsMultithreaded Integer Sort
Coding & Leetcode-style QuestionsK-th Element on a Streaming Time Window
Coding & Leetcode-style Questions