Twitter (X) Interview Guide & Preparation
Twitter (now X) interviews focus on building real-time, high-throughput systems. The process evaluates your ability to handle massive scale — processing hundreds of thousands of tweets per second, fan-out problems, and real-time timelines. While the company has undergone significant changes, the technical interview structure for engineering roles remains focused on distributed systems and scalable architecture.
Interview Process
Application / Referral
Apply through the X careers page or via referral.
Recruiter Screen
A brief call to discuss your background and role fit.
Technical Phone Screen
A 45-60 minute coding interview over a shared editor. Expect one or two algorithmic problems.
Onsite / Virtual Loop
Four rounds: 2 coding, 1 system design, 1 behavioral or domain-specific. System design is heavily weighted for senior roles.
Debrief & Offer
Panel debrief and decision. Compensation structure has changed post-acquisition.
Common Topics
Sample Questions
System Design
Design the home timeline for Twitter. How do you efficiently deliver tweets to all followers when a user posts?
Design a trending topics detection system that identifies trends in real time across millions of tweets.
Onsite Coding
Given a list of tweets with timestamps, implement a function to retrieve the most recent k tweets for a user's timeline.
Implement a trie-based autocomplete system for Twitter search with frequency-based ranking.
Behavioral
Tell me about a time you had to rebuild or significantly refactor a system under tight deadlines.
Preparation Tips
Twitter system design questions are classic: design a tweet timeline, trending topics, or real-time search
Understand the fan-out-on-write vs. fan-out-on-read trade-off — this is central to Twitter's architecture
Study distributed caching (Memcached, Redis) deeply — caching is critical at Twitter scale
Be prepared to discuss how to handle celebrity accounts with millions of followers (hot key problem)
Practice stream processing concepts: Kafka, real-time aggregation, and windowed computations
Coding questions are standard LeetCode medium difficulty; focus on clean, efficient solutions
The company is evolving rapidly — stay current on its engineering direction and priorities
Tech Stack
Related Companies
Start practicing
Practice for Your Twitter (X) Interview
Get AI-powered interview practice with questions tailored to Twitter (X)'s interview style. Free plan available for candidates.