Skip to content

Tag Archives: Ola Cabs

Round 1 (Online Test): Four Programming Questions- a) Given a string find number of different substrings that are palindromes. b) In a matrix we can… Read More
Given a binary tree, count leaves in the tree without using recursion. A node is a leaf node if both left and right children of… Read More
Given a string, the task is to count all palindrome sub string in a given string. Length of palindrome sub string is greater than or… Read More
1.   About my DS related work. Why change? IsBST() Kadane algo with start and end indices. 2.   What is SVM? Given a hard disk with… Read More
1. Written Find unions of all intervals(startime, endtime) Design cricket score dashboard (which can give match result, tournament result and player stats) 2. how to… Read More
Given a text and a wildcard pattern, implement wildcard pattern matching algorithm that finds if wildcard pattern is matched with text. The matching should cover… Read More
Design Round: 1. Design LRU cache and implement 2. Solving sudoko 3. Design to replace the existing Support tab navigation based to search based in… Read More
Given an integer x, find it’s square root. If x is not a perfect square, then return floor(√x). Examples :  Input: x = 4 Output:… Read More
I was recently interviewed by OLA, I could not make it after the last round. All rounds I had were telephonic, in the last round… Read More
Given a sorted array in which all elements appear twice (one after one) and one element appears only once. Find that element in O(log n)… Read More
Last month i was interviewed by Ola for SDE 1 post. Here is my experience. Round 1 a. Inorder predecessor and successor for a given… Read More
Design the entire bowling alley system. One bowling game will be played by multiple players on a single lane. During the game,players and their scores… Read More
I was recently interviewed for SDE 2 position at OlaCabs. Round 1 (around 1 hour) Design and implement a logging library. Preferred language was Java.… Read More
I attended interview for Ola high availability team. Below are the questions. 1) Find k distant nodes in given tree. The paths going through parent… Read More
An employee works for an employer for 7 days. The employer has a gold rod of 7 units. How does the employer pay to the… Read More