grindmapcompany-wise LeetCode
All companies

Ola Cabs LeetCode Questions

24 questions all-time · 5 easy · 14 medium · 5 hard
# Problem Difficulty Frequency Acceptance
1Longest Substring Without Repeating Characters
Hash Table, String, Sliding Window
Medium
100
0.4%
2Add Two Numbers
Linked List, Math, Recursion
Medium
96
0.5%
3Trapping Rain Water
Array, Two Pointers, Dynamic Programming, Stack, Monotonic Stack
Hard
91
0.7%
4Two Sum
Array, Hash Table
Easy
77
0.6%
5Validate Binary Search Tree
Tree, Depth-First Search, Binary Search Tree, Binary Tree
Medium
77
0.4%
6Group Anagrams
Array, Hash Table, String, Sorting
Medium
77
0.7%
7Binary Tree Maximum Path Sum
Dynamic Programming, Tree, Depth-First Search, Binary Tree
Hard
77
0.4%
8Longest Palindromic Substring
Two Pointers, String, Dynamic Programming
Medium
66
0.4%
9Climbing Stairs
Math, Dynamic Programming, Memoization
Easy
66
0.5%
10House Robber
Array, Dynamic Programming
Medium
66
0.5%
11Number of Islands
Array, Depth-First Search, Breadth-First Search, Union-Find, Matrix
Medium
66
0.6%
12Decode String
String, Stack, Recursion
Medium
66
0.6%
13Container With Most Water
Array, Two Pointers, Greedy
Medium
66
0.6%
14Alien Dictionary
Array, String, Depth-First Search, Breadth-First Search, Graph Theory, Topological Sort
Hard
66
0.4%
153Sum
Array, Two Pointers, Sorting
Medium
66
0.4%
16Find Pivot Index
Array, Prefix Sum
Easy
66
0.6%
17Find Minimum in Rotated Sorted Array
Array, Binary Search
Medium
66
0.5%
18Excel Sheet Column Title
Math, String
Easy
66
0.5%
19First Missing Positive
Array, Hash Table
Hard
66
0.4%
20Delete Node in a Linked List
Linked List
Medium
66
0.8%
21Best Time to Buy and Sell Stock
Array, Dynamic Programming
Easy
66
0.6%
22All Nodes Distance K in Binary Tree
Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree
Medium
66
0.7%
23Unique Paths
Math, Dynamic Programming, Combinatorics
Medium
66
0.7%
24Word Ladder
Hash Table, String, Breadth-First Search
Hard
66
0.5%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.