Uber vs Yahoo Interview Questions

Uber lists 362 LeetCode interview questions while Yahoo lists 34. They share 21 problems — 6% of Uber's bank and 62% of Yahoo's. Focus on the overlap first, then drill into 341 Uber-only and 13 Yahoo-only questions.

Read the full Uber vs Yahoo preparation guide →

Overview

Uber

362 questions

Easy 45Medium 215Hard 102
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 Uber and Yahoo.

Step 2 — Company-specific depth: Add Uber-specific problems like Bus Routes, Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit, Alien Dictionary and Yahoo-specific problems from the exclusive lists below.

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

Difficulty Comparison

Easy
Uber
45
Yahoo
11
Medium
Uber
215
Yahoo
20
Hard
Uber
102
Yahoo
3

Top Shared Topics

21 Shared Questions

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

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

Unique to Uber (341)

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

ProblemDifficulty
Bus RoutesHard
Longest Continuous Subarray With Absolute Diff Less Than or Equal to LimitMedium
Alien DictionaryHard
Number of IslandsMedium
Number of Islands IIHard
Squares of a Sorted ArrayEasy
Construct Quad TreeMedium
Kth Smallest Element in a BSTMedium
First Unique NumberMedium
Find the Closest PalindromeHard
Insert Delete GetRandom O(1)Medium
Design Hit CounterMedium

Unique to Yahoo (13)

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

ProblemDifficulty
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
Restore IP AddressesMedium
Flatten Nested List IteratorMedium

Frequently Asked Questions

How many LeetCode questions do Uber and Yahoo share?

Uber and Yahoo share 21 LeetCode interview questions. 341 problems appear only in Uber's list and 13 appear only in Yahoo's list.

What topics overlap most between Uber and Yahoo?

The most common shared topics between Uber and Yahoo are Array (14 shared questions), String (8 shared questions), Hash Table (7 shared questions), Depth-First Search (4 shared questions), Breadth-First Search (4 shared questions). Mastering these areas prepares you for both companies.

Which company asks harder LeetCode questions: Uber or Yahoo?

Uber has 45 Easy, 215 Medium, and 102 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Uber has a higher proportion of Hard problems in its interview set.

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

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

Explore More