ByteDance vs X Interview Questions
ByteDance lists 64 LeetCode interview questions while X lists 51. They share 9 problems — 14% of ByteDance's bank and 18% of X's. Focus on the overlap first, then drill into 55 ByteDance-only and 42 X-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 9 overlapping problems first. These are the highest-yield questions for candidates interviewing at both ByteDance and X.
Step 2 — Company-specific depth: Add ByteDance-specific problems like Remove Duplicate Letters, Smallest Subsequence of Distinct Characters, First Day Where You Have Been in All the Rooms 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
9 Shared Questions
High-priority problems to practice for both ByteDance and X.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Merge Intervals | Medium |
| Regular Expression Matching | Hard |
| Trapping Rain Water | Hard |
| Multiply Strings | Medium |
| Insert Delete GetRandom O(1) | Medium |
| Trapping Rain Water II | Hard |
| Merge k Sorted Lists | Hard |
| Valid Parentheses | Easy |
Unique to ByteDance (55)
Problems in ByteDance's list that do not appear at X.
| Problem | Difficulty |
|---|---|
| Remove Duplicate Letters | Medium |
| Smallest Subsequence of Distinct Characters | Medium |
| First Day Where You Have Been in All the Rooms | Medium |
| Number of Islands | Medium |
| Course Schedule | Medium |
| Combination Sum | Medium |
| Basic Calculator II | Medium |
| Shortest Bridge | Medium |
| House Robber | Medium |
| Maximal Square | Medium |
| Top K Frequent Elements | Medium |
| Design Memory Allocator | Medium |
Unique to X (42)
Problems in X's list that do not appear at ByteDance.
| Problem | Difficulty |
|---|---|
| Tweet Counts Per Frequency | Medium |
| Flatten Nested List Iterator | Medium |
| Implement Trie (Prefix Tree) | Medium |
| Design Twitter | Medium |
| Binary Gap | Easy |
| Integer to Roman | Medium |
| Word Break II | Hard |
| Alien Dictionary | Hard |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
| Finding the Users Active Minutes | Medium |
| One Edit Distance | Medium |
Frequently Asked Questions
How many LeetCode questions do ByteDance and X share?
ByteDance and X share 9 LeetCode interview questions. 55 problems appear only in ByteDance's list and 42 appear only in X's list.
What topics overlap most between ByteDance and X?
The most common shared topics between ByteDance and X are Array (4 shared questions), String (3 shared questions), Hash Table (2 shared questions), Linked List (2 shared questions), Design (2 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: ByteDance or X?
ByteDance has 4 Easy, 51 Medium, and 9 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 ByteDance and X?
Start with the 9 shared problems since they cover what both companies ask most often. Then add 20 ByteDance-specific and 20 X-specific questions to round out your prep.