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.
Overview
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
Top Shared Topics
21 Shared Questions
High-priority problems to practice for both Uber and Yahoo.
| Problem | Difficulty |
|---|---|
| Word Search | Medium |
| LRU Cache | Medium |
| Evaluate Division | Medium |
| Spiral Matrix | Medium |
| Meeting Rooms II | Medium |
| Word Break | Medium |
| Serialize and Deserialize Binary Tree | Hard |
| Two Sum | Easy |
| Search in Rotated Sorted Array | Medium |
| Top K Frequent Elements | Medium |
| Roman to Integer | Easy |
| Find Peak Element | Medium |
| Combination Sum | Medium |
| Reverse Linked List | Easy |
| Maximum Depth of Binary Tree | Easy |
| Subarray Sum Equals K | Medium |
| Longest Common Prefix | Easy |
| Valid Parentheses | Easy |
| Longest Repeating Character Replacement | Medium |
| Shortest Path in Binary Matrix | Medium |
| Median of Two Sorted Arrays | Hard |
Unique to Uber (341)
Problems in Uber's list that do not appear at Yahoo.
| Problem | Difficulty |
|---|---|
| Bus Routes | Hard |
| Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit | Medium |
| Alien Dictionary | Hard |
| Number of Islands | Medium |
| Number of Islands II | Hard |
| Squares of a Sorted Array | Easy |
| Construct Quad Tree | Medium |
| Kth Smallest Element in a BST | Medium |
| First Unique Number | Medium |
| Find the Closest Palindrome | Hard |
| Insert Delete GetRandom O(1) | Medium |
| Design Hit Counter | Medium |
Unique to Yahoo (13)
Problems in Yahoo's list that do not appear at Uber.
| Problem | Difficulty |
|---|---|
| Contains Duplicate | Easy |
| Largest Palindrome Product | Hard |
| Linked List Cycle | Easy |
| Matrix Cells in Distance Order | Easy |
| Non-decreasing Subsequences | Medium |
| Maximum Distance in Arrays | Medium |
| Binary Number with Alternating Bits | Easy |
| Peeking Iterator | Medium |
| Palindrome Number | Easy |
| Validate Binary Search Tree | Medium |
| Restore IP Addresses | Medium |
| Flatten Nested List Iterator | Medium |
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.