TikTok vs Twitter Interview Questions

TikTok lists 351 LeetCode interview questions while Twitter lists 53. They share 20 problems — 6% of TikTok's bank and 38% of Twitter's. Focus on the overlap first, then drill into 331 TikTok-only and 33 Twitter-only questions.

Read the full TikTok vs Twitter preparation guide →

Overview

TikTok

351 questions

Easy 34Medium 245Hard 72
Twitter

53 questions

Easy 8Medium 33Hard 12

Preparation Strategy

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

Step 2 — Company-specific depth: Add TikTok-specific problems like Number of Islands, Longest Increasing Subsequence, Longest Substring Without Repeating Characters and Twitter-specific problems from the exclusive lists below.

Step 3 — Difficulty tuning: Twitter skews harder in our data. Budget extra time for Hard problems if you are targeting that company.

Difficulty Comparison

Easy
TikTok
34
Twitter
8
Medium
TikTok
245
Twitter
33
Hard
TikTok
72
Twitter
12

Top Shared Topics

20 Shared Questions

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

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
Rotting OrangesMedium
Regular Expression MatchingHard
Alien DictionaryHard
Random Pick with WeightMedium
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 (331)

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

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 Twitter (33)

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

ProblemDifficulty
Wildcard MatchingHard
Permutation SequenceHard
Pascal's TriangleEasy
Time Needed to Buy TicketsEasy
Max Points on a LineHard
One Edit DistanceMedium
The Skyline ProblemHard
Lowest Common Ancestor of a Binary Search TreeMedium
Flatten 2D VectorMedium
Best Meeting PointHard
Design SkiplistHard
Flatten Nested List IteratorMedium

Frequently Asked Questions

How many LeetCode questions do TikTok and Twitter share?

TikTok and Twitter share 20 LeetCode interview questions. 331 problems appear only in TikTok's list and 33 appear only in Twitter's list.

What topics overlap most between TikTok and Twitter?

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

Which company asks harder LeetCode questions: TikTok or Twitter?

TikTok has 34 Easy, 245 Medium, and 72 Hard questions. Twitter has 8 Easy, 33 Medium, and 12 Hard questions. Twitter has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both TikTok and Twitter?

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

Explore More