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.
Overview
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
Top Shared Topics
20 Shared Questions
High-priority problems to practice for both TikTok and Twitter.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Merge Intervals | Medium |
| Trapping Rain Water | Hard |
| Merge k Sorted Lists | Hard |
| Valid Parentheses | Easy |
| Insert Delete GetRandom O(1) | Medium |
| Word Break II | Hard |
| Reverse Linked List | Easy |
| Rotting Oranges | Medium |
| Regular Expression Matching | Hard |
| Alien Dictionary | Hard |
| Random Pick with Weight | Medium |
| Multiply Strings | Medium |
| Kth Smallest Element in a Sorted Matrix | Medium |
| Integer to Roman | Medium |
| Number of Connected Components in an Undirected Graph | Medium |
| Validate IP Address | Medium |
| Process Tasks Using Servers | Medium |
| Happy Number | Easy |
| Implement Trie (Prefix Tree) | Medium |
Unique to TikTok (331)
Problems in TikTok's list that do not appear at Twitter.
| Problem | Difficulty |
|---|---|
| Number of Islands | Medium |
| Longest Increasing Subsequence | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Number of Distinct Islands | Medium |
| Meeting Rooms II | Medium |
| Course Schedule II | Medium |
| Course Schedule | Medium |
| Subarray With Elements Greater Than Varying Threshold | Hard |
| Text Justification | Hard |
| Decode String | Medium |
| Word Search | Medium |
| Longest Palindromic Substring | Medium |
Unique to Twitter (33)
Problems in Twitter's list that do not appear at TikTok.
| Problem | Difficulty |
|---|---|
| Wildcard Matching | Hard |
| Permutation Sequence | Hard |
| Pascal's Triangle | Easy |
| Time Needed to Buy Tickets | Easy |
| Max Points on a Line | Hard |
| One Edit Distance | Medium |
| The Skyline Problem | Hard |
| Lowest Common Ancestor of a Binary Search Tree | Medium |
| Flatten 2D Vector | Medium |
| Best Meeting Point | Hard |
| Design Skiplist | Hard |
| Flatten Nested List Iterator | Medium |
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.