Yahoo vs Yelp Interview Questions

Yahoo lists 34 LeetCode interview questions while Yelp lists 27. They share 5 problems — 15% of Yahoo's bank and 19% of Yelp's. Focus on the overlap first, then drill into 29 Yahoo-only and 22 Yelp-only questions.

Overview

Yahoo

34 questions

Easy 11Medium 20Hard 3
Yelp

27 questions

Easy 7Medium 15Hard 5

Preparation Strategy

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

Step 2 — Company-specific depth: Add Yahoo-specific problems like LRU Cache, Maximum Depth of Binary Tree, Contains Duplicate and Yelp-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Yahoo
11
Yelp
7
Medium
Yahoo
20
Yelp
15
Hard
Yahoo
3
Yelp
5

Top Shared Topics

5 Shared Questions

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

ProblemDifficulty
Two SumEasy
Reverse Linked ListEasy
Top K Frequent ElementsMedium
Longest Common PrefixEasy
Decode StringMedium

Unique to Yahoo (29)

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

ProblemDifficulty
LRU CacheMedium
Maximum Depth of Binary TreeEasy
Contains DuplicateEasy
Serialize and Deserialize Binary TreeHard
Largest Palindrome ProductHard
Median of Two Sorted ArraysHard
Roman to IntegerEasy
Word BreakMedium
Linked List CycleEasy
Matrix Cells in Distance OrderEasy
Non-decreasing SubsequencesMedium
Maximum Distance in ArraysMedium

Unique to Yelp (22)

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

ProblemDifficulty
Destination CityEasy
Filter Restaurants by Vegan-Friendly, Price and DistanceMedium
Remove Colored Pieces if Both Neighbors are the Same ColorMedium
Longest Substring Without Repeating CharactersMedium
Active BusinessesMedium
Course ScheduleMedium
Reverse Words in a StringMedium
Minimum Index Sum of Two ListsEasy
The Skyline ProblemHard
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
Letter Case PermutationMedium
Group AnagramsMedium

Frequently Asked Questions

How many LeetCode questions do Yahoo and Yelp share?

Yahoo and Yelp share 5 LeetCode interview questions. 29 problems appear only in Yahoo's list and 22 appear only in Yelp's list.

What topics overlap most between Yahoo and Yelp?

The most common shared topics between Yahoo and Yelp are Array (3 shared questions), Hash Table (2 shared questions), Recursion (2 shared questions), String (2 shared questions), Linked List (1 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Yahoo or Yelp?

Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Yelp has 7 Easy, 15 Medium, and 5 Hard questions. Yelp has a higher proportion of Hard problems in its interview set.

How should I prepare if interviewing at both Yahoo and Yelp?

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

Explore More