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.

Read the full TikTok vs Yahoo preparation guide →

Overview

TikTok

351 questions

Easy 34Medium 245Hard 72
Yahoo

34 questions

Easy 11Medium 20Hard 3

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

Easy
TikTok
34
Yahoo
11
Medium
TikTok
245
Yahoo
20
Hard
TikTok
72
Yahoo
3

Top Shared Topics

21 Shared Questions

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

ProblemDifficulty
LRU CacheMedium
Meeting Rooms IIMedium
Decode StringMedium
Word SearchMedium
Search in Rotated Sorted ArrayMedium
Subarray Sum Equals KMedium
Top K Frequent ElementsMedium
Spiral MatrixMedium
Valid ParenthesesEasy
Two SumEasy
Serialize and Deserialize Binary TreeHard
Combination SumMedium
Reverse Linked ListEasy
Word BreakMedium
Find Peak ElementMedium
Longest Common PrefixEasy
Evaluate DivisionMedium
Restore IP AddressesMedium
Shortest Path in Binary MatrixMedium
Roman to IntegerEasy
Median of Two Sorted ArraysHard

Unique to TikTok (330)

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

ProblemDifficulty
Number of IslandsMedium
Longest Increasing SubsequenceMedium
Longest Substring Without Repeating CharactersMedium
Number of Distinct IslandsMedium
Course Schedule IIMedium
Merge IntervalsMedium
Course ScheduleMedium
Trapping Rain WaterHard
Subarray With Elements Greater Than Varying ThresholdHard
Text JustificationHard
Longest Palindromic SubstringMedium
N-QueensHard

Unique to Yahoo (13)

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

ProblemDifficulty
Maximum Depth of Binary TreeEasy
Contains DuplicateEasy
Largest Palindrome ProductHard
Linked List CycleEasy
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium
Maximum Distance in ArraysMedium
Binary Number with Alternating BitsEasy
Peeking IteratorMedium
Palindrome NumberEasy
Validate Binary Search TreeMedium
Longest Repeating Character ReplacementMedium

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.

Explore More