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

Twitter

53 questions

Easy 8Medium 33Hard 12
X

51 questions

Easy 8Medium 31Hard 12

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

Easy
Twitter
8
X
8
Medium
Twitter
33
X
31
Hard
Twitter
12
X
12

Top Shared Topics

51 Shared Questions

High-priority problems to practice for both Twitter and X.

ProblemDifficulty
Regular Expression MatchingHard
Integer to RomanMedium
Valid ParenthesesEasy
Merge k Sorted ListsHard
Trapping Rain WaterHard
Multiply StringsMedium
Wildcard MatchingHard
Merge IntervalsMedium
Permutation SequenceHard
Pascal's TriangleEasy
Word Break IIHard
LRU CacheMedium
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium
Happy NumberEasy
Reverse Linked ListEasy
Implement Trie (Prefix Tree)Medium
The Skyline ProblemHard
Lowest Common Ancestor of a Binary Search TreeMedium
Flatten 2D VectorMedium
Alien DictionaryHard
Best Meeting PointHard
Design SkiplistHard
Number of Connected Components in an Undirected GraphMedium
Flatten Nested List IteratorMedium
Design TwitterMedium
Kth Smallest Element in a Sorted MatrixMedium
Insert Delete GetRandom O(1)Medium
Trapping Rain Water IIHard

Showing top 30 of 51 shared problems.

Unique to Twitter (2)

Problems in Twitter's list that do not appear at X.

ProblemDifficulty
Random Pick with WeightMedium
Rotting OrangesMedium

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.

Explore More