Ola Cabs vs Yahoo Interview Questions
Ola Cabs lists 24 LeetCode interview questions while Yahoo lists 34. They share 3 problems — 13% of Ola Cabs's bank and 9% of Yahoo's. Focus on the overlap first, then drill into 21 Ola Cabs-only and 31 Yahoo-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 3 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Ola Cabs and Yahoo.
Step 2 — Company-specific depth: Add Ola Cabs-specific problems like Longest Substring Without Repeating Characters, Add Two Numbers, Trapping Rain Water and Yahoo-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Ola Cabs skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
3 Shared Questions
High-priority problems to practice for both Ola Cabs and Yahoo.
| Problem | Difficulty |
|---|---|
| Two Sum | Easy |
| Validate Binary Search Tree | Medium |
| Decode String | Medium |
Unique to Ola Cabs (21)
Problems in Ola Cabs's list that do not appear at Yahoo.
| Problem | Difficulty |
|---|---|
| Longest Substring Without Repeating Characters | Medium |
| Add Two Numbers | Medium |
| Trapping Rain Water | Hard |
| Group Anagrams | Medium |
| Binary Tree Maximum Path Sum | Hard |
| Longest Palindromic Substring | Medium |
| Climbing Stairs | Easy |
| House Robber | Medium |
| Number of Islands | Medium |
| Container With Most Water | Medium |
| Alien Dictionary | Hard |
| 3Sum | Medium |
Unique to Yahoo (31)
Problems in Yahoo's list that do not appear at Ola Cabs.
| Problem | Difficulty |
|---|---|
| LRU Cache | Medium |
| Maximum Depth of Binary Tree | Easy |
| Reverse Linked List | Easy |
| Contains Duplicate | Easy |
| Serialize and Deserialize Binary Tree | Hard |
| Largest Palindrome Product | Hard |
| Median of Two Sorted Arrays | Hard |
| Roman to Integer | Easy |
| Word Break | Medium |
| Linked List Cycle | Easy |
| Matrix Cells in Distance Order | Easy |
| Non-decreasing Subsequences | Medium |
Frequently Asked Questions
How many LeetCode questions do Ola Cabs and Yahoo share?
Ola Cabs and Yahoo share 3 LeetCode interview questions. 21 problems appear only in Ola Cabs's list and 31 appear only in Yahoo's list.
What topics overlap most between Ola Cabs and Yahoo?
The most common shared topics between Ola Cabs and Yahoo are Array (1 shared questions), Hash Table (1 shared questions), Tree (1 shared questions), Depth-First Search (1 shared questions), Binary Search Tree (1 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Ola Cabs or Yahoo?
Ola Cabs has 5 Easy, 14 Medium, and 5 Hard questions. Yahoo has 11 Easy, 20 Medium, and 3 Hard questions. Ola Cabs has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Ola Cabs and Yahoo?
Start with the 3 shared problems since they cover what both companies ask most often. Then add 20 Ola Cabs-specific and 20 Yahoo-specific questions to round out your prep.