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

ByteDance

64 questions

Easy 4Medium 51Hard 9
X

51 questions

Easy 8Medium 31Hard 12

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

Easy
ByteDance
4
X
8
Medium
ByteDance
51
X
31
Hard
ByteDance
9
X
12

Top Shared Topics

9 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Merge IntervalsMedium
Regular Expression MatchingHard
Trapping Rain WaterHard
Multiply StringsMedium
Insert Delete GetRandom O(1)Medium
Trapping Rain Water IIHard
Merge k Sorted ListsHard
Valid ParenthesesEasy

Unique to ByteDance (55)

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

ProblemDifficulty
Remove Duplicate LettersMedium
Smallest Subsequence of Distinct CharactersMedium
First Day Where You Have Been in All the RoomsMedium
Number of IslandsMedium
Course ScheduleMedium
Combination SumMedium
Basic Calculator IIMedium
Shortest BridgeMedium
House RobberMedium
Maximal SquareMedium
Top K Frequent ElementsMedium
Design Memory AllocatorMedium

Unique to X (42)

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

ProblemDifficulty
Tweet Counts Per FrequencyMedium
Flatten Nested List IteratorMedium
Implement Trie (Prefix Tree)Medium
Design TwitterMedium
Binary GapEasy
Integer to RomanMedium
Word Break IIHard
Alien DictionaryHard
Time Needed to Buy TicketsEasy
Max Points on a LineHard
Finding the Users Active MinutesMedium
One Edit DistanceMedium

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.

Explore More