TikTok vs Yahoo Interview Questions
TikTok lists 351 LeetCode interview questions while Yahoo lists 34. They share 21 problems — 6% of TikTok's bank and 62% of Yahoo's. Focus on the overlap first, then drill into 330 TikTok-only and 13 Yahoo-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 21 overlapping problems first. These are the highest-yield questions for candidates interviewing at both TikTok and Yahoo.
Step 2 — Company-specific depth: Add TikTok-specific problems like Number of Islands, Longest Increasing Subsequence, Longest Substring Without Repeating Characters and Yahoo-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: TikTok skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
21 Shared Questions
High-priority problems to practice for both TikTok and Yahoo.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Meeting Rooms II | Medium |
| Decode String | Medium |
| Word Search | Medium |
| Search in Rotated Sorted Array | Medium |
| Subarray Sum Equals K | Medium |
| Top K Frequent Elements | Medium |
| Spiral Matrix | Medium |
| Valid Parentheses | Easy |
| Two Sum | Easy |
| Serialize and Deserialize Binary Tree | Hard |
| Combination Sum | Medium |
| Reverse Linked List | Easy |
| Word Break | Medium |
| Find Peak Element | Medium |
| Longest Common Prefix | Easy |
| Evaluate Division | Medium |
| Restore IP Addresses | Medium |
| Shortest Path in Binary Matrix | Medium |
| Roman to Integer | Easy |
| Median of Two Sorted Arrays | Hard |
Unique to TikTok (330)
Problems in TikTok's list that do not appear at Yahoo.
| Problem | Difficulty |
|---|---|
| Number of Islands | Medium |
| Longest Increasing Subsequence | Medium |
| Longest Substring Without Repeating Characters | Medium |
| Number of Distinct Islands | Medium |
| Course Schedule II | Medium |
| Merge Intervals | Medium |
| Course Schedule | Medium |
| Trapping Rain Water | Hard |
| Subarray With Elements Greater Than Varying Threshold | Hard |
| Text Justification | Hard |
| Longest Palindromic Substring | Medium |
| N-Queens | Hard |
Unique to Yahoo (13)
Problems in Yahoo's list that do not appear at TikTok.
Frequently Asked Questions
How many LeetCode questions do TikTok and Yahoo share?
TikTok and Yahoo share 21 LeetCode interview questions. 330 problems appear only in TikTok's list and 13 appear only in Yahoo's list.
What topics overlap most between TikTok and Yahoo?
The most common shared topics between TikTok and Yahoo are Array (14 shared questions), String (9 shared questions), Hash Table (6 shared questions), Backtracking (3 shared questions), Depth-First Search (3 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: TikTok or Yahoo?
TikTok has 34 Easy, 245 Medium, and 72 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. TikTok has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both TikTok and Yahoo?
Start with the 21 shared problems since they cover what both companies ask most often. Then add 20 TikTok-specific and 13 Yahoo-specific questions to round out your prep.