Ola cabs interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Ola cabs
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
I have cleared the coding round but was unfortunately rejected in the technical round. Easy to medium coding questions, project-related questions, and DBMS questions were asked in the coding round.
Application story
I received that opportunity off-campus. I cleared the coding round, but unfortunately, I was rejected in the technical round. In the coding round, there were easy to medium coding questions, and in the technical interview, they asked questions related to Python, projects, and DBMS.
Why selected/rejected for the role?
I gave my best in the interview, but unfortunately, I did not clear that round because I did not explain my project. However, rejection is a part of life; it provides the motivation to achieve success.
Preparation
Duration: 2 Months
Topics: Data Structures & Algorithms, Operating System, Object-Oriented Programming System, DBMS, CN
Tip
Tip

Tip 1: Prepare DSA well, and I personally recommend Coding Ninjas for interview preparation.
Tip 2: Be confident and relaxed during the interview.
Tip 3: Revise your projects, i.e., how they work and what their functionalities are.

Application process
Where: Referral
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1: Keep your resume concise, aiming for one page only, and include all the skills you are confident in.
Tip 2: Do not include false information on your resume.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 Minutes
Interview date24 Dec 2022
Coding problem2

The Assessment consists of 30 MCQs and 2 coding Questions.

1. Count Subsequences

Moderate
30m average time
60% success
0/80
Asked in companies
OracleHCL TechnologiesHCL Technologies

You have been given an integer array/list 'ARR' of size 'N'. Your task is to return the total number of those subsequences of the array in which all the elements are equal.

A subsequence of a given array is an array generated by deleting some elements of the given array with the order of elements in the subsequence remaining the same as the order of elements in the array.

Note :
As this value might be large, print it modulo 10^9 + 7
Try solving now

2. Level Order Traversal

Easy
15m average time
85% success
0/40
Asked in companies
WalmartFreshworksAdobe

You have been given a Binary Tree of integers. You are supposed to return the level order traversal of the given tree.

For example:
For the given binary tree

Example

The level order traversal will be {1,2,3,4,5,6,7}.
Try solving now
02
Round
Medium
Video Call
Duration60 Minutes
Interview date29 Dec 2022
Coding problem1

1. LRU Cache

Moderate
0/80
Asked in companies
Info Edge India (Naukri.com)Expedia GroupOla
Design a data structure that satisfies the constraints of a Least Recently Used (LRU).
1. Get(int num): If the key exists, it will return the value of the key stored. Else, return -1.    
2. Put(int key, int value): If the key already exists, update the value of the key. Else add the key-value pair to the cache. If the number of keys is more than the capacity for this operation, delete the least recently key used. 
Example:
For the following input: 

4 2
2 1 4
1 1
1 4

We will initialize an empty LRU cache for the first operation with a maximum capacity of 2.
For the first operation, we need to add a key-value pair (1,4) to the cache.
For the second operation, we need to return the value stored for key 1, i.e., 4
For the third operation, we need to return -1, as we don't have any key 4 in the cache.

So, the final output will be: 
4  -1
Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 views
0 comments
0 upvotes
company logo
SDE - Intern
2 rounds | 3 problems
Interviewed by Amazon
960 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6450 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3451 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
114579 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57825 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34961 views
7 comments
0 upvotes