Twitter vs X Interview Questions
Twitter lists 53 LeetCode interview questions while X lists 51. They share 51 problems — 96% of Twitter's bank and 100% of X's. Focus on the overlap first, then drill into 2 Twitter-only and 0 X-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 51 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Twitter and X.
Step 2 — Company-specific depth: Add Twitter-specific problems like Random Pick with Weight, Rotting Oranges and X-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: X skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
51 Shared Questions
High-priority problems to practice for both Twitter and X.
| Problem | Difficulty |
|---|---|
| Regular Expression Matching | Hard |
| Integer to Roman | Medium |
| Valid Parentheses | Easy |
| Merge k Sorted Lists | Hard |
| Trapping Rain Water | Hard |
| Multiply Strings | Medium |
| Wildcard Matching | Hard |
| Merge Intervals | Medium |
| Permutation Sequence | Hard |
| Pascal's Triangle | Easy |
| Word Break II | Hard |
| LRU Cache | Medium |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
| One Edit Distance | Medium |
| Happy Number | Easy |
| Reverse Linked List | Easy |
| Implement Trie (Prefix Tree) | Medium |
| The Skyline Problem | Hard |
| Lowest Common Ancestor of a Binary Search Tree | Medium |
| Flatten 2D Vector | Medium |
| Alien Dictionary | Hard |
| Best Meeting Point | Hard |
| Design Skiplist | Hard |
| Number of Connected Components in an Undirected Graph | Medium |
| Flatten Nested List Iterator | Medium |
| Design Twitter | Medium |
| Kth Smallest Element in a Sorted Matrix | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Trapping Rain Water II | Hard |
Showing top 30 of 51 shared problems.
Unique to Twitter (2)
Problems in Twitter's list that do not appear at X.
| Problem | Difficulty |
|---|---|
| Random Pick with Weight | Medium |
| Rotting Oranges | Medium |
Unique to X (0)
Problems in X's list that do not appear at Twitter.
No exclusive X problems to show.
Frequently Asked Questions
How many LeetCode questions do Twitter and X share?
Twitter and X share 51 LeetCode interview questions. 2 problems appear only in Twitter's list and 0 appear only in X's list.
What topics overlap most between Twitter and X?
The most common shared topics between Twitter and X are Array (10 shared questions), Hash Table (8 shared questions), String (7 shared questions), Math (6 shared questions), Design (6 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Twitter or X?
Twitter has 8 Easy, 33 Medium, and 12 Hard questions. X has 8 Easy, 31 Medium, and 12 Hard questions. X has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Twitter and X?
Start with the 51 shared problems since they cover what both companies ask most often. Then add 2 Twitter-specific and 0 X-specific questions to round out your prep.