TikTok vs X Interview Questions

TikTok lists 351 LeetCode interview questions while X lists 51. They share 18 problems — 5% of TikTok's bank and 35% of X's. Focus on the overlap first, then drill into 333 TikTok-only and 33 X-only questions.

Overview

TikTok

351 questions

Easy 34Medium 245Hard 72
X

51 questions

Easy 8Medium 31Hard 12

Preparation Strategy

Step 1 — Shared core: Solve the 18 overlapping problems first. These are the highest-yield questions for candidates interviewing at both TikTok and X.

Step 2 — Company-specific depth: Add TikTok-specific problems like Number of Islands, Longest Increasing Subsequence, Longest Substring Without Repeating Characters 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
TikTok
34
X
8
Medium
TikTok
245
X
31
Hard
TikTok
72
X
12

Top Shared Topics

18 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Merge IntervalsMedium
Trapping Rain WaterHard
Merge k Sorted ListsHard
Valid ParenthesesEasy
Insert Delete GetRandom O(1)Medium
Word Break IIHard
Reverse Linked ListEasy
Regular Expression MatchingHard
Alien DictionaryHard
Multiply StringsMedium
Kth Smallest Element in a Sorted MatrixMedium
Integer to RomanMedium
Number of Connected Components in an Undirected GraphMedium
Validate IP AddressMedium
Process Tasks Using ServersMedium
Happy NumberEasy
Implement Trie (Prefix Tree)Medium

Unique to TikTok (333)

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

ProblemDifficulty
Number of IslandsMedium
Longest Increasing SubsequenceMedium
Longest Substring Without Repeating CharactersMedium
Number of Distinct IslandsMedium
Meeting Rooms IIMedium
Course Schedule IIMedium
Course ScheduleMedium
Subarray With Elements Greater Than Varying ThresholdHard
Text JustificationHard
Decode StringMedium
Word SearchMedium
Longest Palindromic SubstringMedium

Unique to X (33)

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

ProblemDifficulty
Tweet Counts Per FrequencyMedium
Flatten Nested List IteratorMedium
Design TwitterMedium
Binary GapEasy
Time Needed to Buy TicketsEasy
Max Points on a LineHard
Trapping Rain Water IIHard
Finding the Users Active MinutesMedium
One Edit DistanceMedium
Invalid TweetsEasy
Best Meeting PointHard
Wildcard MatchingHard

Frequently Asked Questions

How many LeetCode questions do TikTok and X share?

TikTok and X share 18 LeetCode interview questions. 333 problems appear only in TikTok's list and 33 appear only in X's list.

What topics overlap most between TikTok and X?

The most common shared topics between TikTok and X are String (8 shared questions), Array (7 shared questions), Hash Table (6 shared questions), Math (4 shared questions), Linked List (3 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: TikTok or X?

TikTok has 34 Easy, 245 Medium, and 72 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 TikTok and X?

Start with the 18 shared problems since they cover what both companies ask most often. Then add 20 TikTok-specific and 20 X-specific questions to round out your prep.

Explore More