Ola Cabs vs Salesforce Interview Questions
Ola Cabs lists 24 LeetCode interview questions while Salesforce lists 188. They share 16 problems — 67% of Ola Cabs's bank and 9% of Salesforce's. Focus on the overlap first, then drill into 8 Ola Cabs-only and 172 Salesforce-only questions.
Overview
Preparation Strategy
Step 1 — Shared core: Solve the 16 overlapping problems first. These are the highest-yield questions for candidates interviewing at both Ola Cabs and Salesforce.
Step 2 — Company-specific depth: Add Ola Cabs-specific problems like Add Two Numbers, Climbing Stairs, House Robber and Salesforce-specific problems from the exclusive lists below.
Step 3 — Difficulty tuning: Salesforce skews harder in our data. Budget extra time for Hard problems if you are targeting that company.
Difficulty Comparison
Top Shared Topics
16 Shared Questions
High-priority problems to practice for both Ola Cabs and Salesforce.
| Problem | Difficulty |
|---|---|
| Longest Substring Without Repeating Characters | Medium |
| Trapping Rain Water | Hard |
| Two Sum | Easy |
| Validate Binary Search Tree | Medium |
| Group Anagrams | Medium |
| Binary Tree Maximum Path Sum | Hard |
| Longest Palindromic Substring | Medium |
| Number of Islands | Medium |
| Decode String | Medium |
| Container With Most Water | Medium |
| 3Sum | Medium |
| Find Pivot Index | Easy |
| First Missing Positive | Hard |
| Best Time to Buy and Sell Stock | Easy |
| All Nodes Distance K in Binary Tree | Medium |
| Word Ladder | Hard |
Unique to Ola Cabs (8)
Problems in Ola Cabs's list that do not appear at Salesforce.
| Problem | Difficulty |
|---|---|
| Add Two Numbers | Medium |
| Climbing Stairs | Easy |
| House Robber | Medium |
| Alien Dictionary | Hard |
| Find Minimum in Rotated Sorted Array | Medium |
| Excel Sheet Column Title | Easy |
| Delete Node in a Linked List | Medium |
| Unique Paths | Medium |
Unique to Salesforce (172)
Problems in Salesforce's list that do not appear at Ola Cabs.
Frequently Asked Questions
How many LeetCode questions do Ola Cabs and Salesforce share?
Ola Cabs and Salesforce share 16 LeetCode interview questions. 8 problems appear only in Ola Cabs's list and 172 appear only in Salesforce's list.
What topics overlap most between Ola Cabs and Salesforce?
The most common shared topics between Ola Cabs and Salesforce are Array (9 shared questions), Hash Table (6 shared questions), String (5 shared questions), Two Pointers (4 shared questions), Dynamic Programming (4 shared questions). Mastering these areas prepares you for both companies.
Which company asks harder LeetCode questions: Ola Cabs or Salesforce?
Ola Cabs has 5 Easy, 14 Medium, and 5 Hard questions. Salesforce has 25 Easy, 112 Medium, and 51 Hard questions. Salesforce has a higher proportion of Hard problems in its interview set.
How should I prepare if interviewing at both Ola Cabs and Salesforce?
Start with the 16 shared problems since they cover what both companies ask most often. Then add 8 Ola Cabs-specific and 20 Salesforce-specific questions to round out your prep.