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

SDE - 2

Ola
upvote
share-icon
5 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, OOPS, System Design, Greedy Algorithms, Dynamic Programming, Competetive Programming
Tip
Tip

Tip 1 : Solve at least 3 LeetCode questions daily of any difficulty level
Tip 2 : Try to use what you are learning in day to day work by taking new initiatives at work.
Tip 3 : Try to bring in new technologies (such as No SQL DB, messaging queues etc) into your day to day work.

Application process
Where: Referral
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Make it concise. 
Tip 2 : Keep numbers handy such as TPAs and QPS your services are handling.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 Minutes
Interview date5 Feb 2021
Coding problem2

Had 1 week of time to complete the online coding round which also had some MCQ questions around OS and DS.

1. DBMS Question

Write a query to get desired information from DB.

Problem approach

Tip 1 : Write simple queries and try to avoid joins
Tip 2 : Practice SQL queries.
Tip 3 : Practice nested queries and group by queries.

2. House Robber

Moderate
15m average time
80% success
0/80
Asked in companies
UberIntuitMicrosoft

Mr. X is a professional robber planning to rob houses along a street. Each house has a certain amount of money hidden.


All houses along this street are arranged in a circle. That means the first house is the neighbour of the last one. Meanwhile, adjacent houses have a security system connected, and it will automatically contact the police if two adjacent houses are broken into on the same night.


You are given an array/list of non-negative integers 'ARR' representing the amount of money of each house. Your task is to return the maximum amount of money Mr. X can rob tonight without alerting the police.


Note:
It is possible for Mr. X to rob the same amount of money by looting two different sets of houses. Just print the maximum possible robbed amount, irrespective of sets of houses robbed.


For example:
(i) Given the input array arr[] = {2, 3, 2} the output will be 3 because Mr X cannot rob house 1 (money = 2) and then rob house 3 (money = 2), because they are adjacent houses. So, he’ll rob only house 2 (money = 3)

(ii) Given the input array arr[] = {1, 2, 3, 1} the output will be 4 because Mr X rob house 1 (money = 1) and then rob house 3 (money = 3).

(iii) Given the input array arr[] = {0} the output will be 0 because Mr. X has got nothing to rob.
Problem approach

At each house, we need to determine whether or not we will steal from that house. This can be determined based on the value of the previous two houses. This is a DP problem.

Try solving now
02
Round
Easy
Video Call
Duration60 Minutes
Interview date8 Feb 2021
Coding problem1

Problem solving around Data Structures

1. System Design Question

Design a simple messaging application like Kafka

Problem approach

Used hasmap and queue to store the information about consumers and messages being produced.

03
Round
Easy
Video Call
Duration60 Minutes
Interview date13 Feb 2021
Coding problem1

1. System Design Question

Design the terminal management system

Problem approach

Tip 1 : Practice System Design as much as possible.
Tip 2 : Learn about load balancing, auto scaling, DB sharding etc. 
Tip 3 : Participate in HLD and LLD discussions in current organization

04
Round
Easy
Video Call
Duration60 Minutes
Interview date20 Feb 2021
Coding problem1

Manager discussion + problem solving

1. Find Indices For Local Minimas and Maximas

Easy
10m average time
90% success
0/40
Asked in companies
OlaUberZomentum

Given an array “arr” of “N” integers. Your task is to find and return all the indices of local minima and local maxima in the given array. You need to return the indices in a 2-D list where the first(0th) row denotes the indices of local minima and the second row denotes the indices of local maxima. In case if there is no local minima or maxima return -1 as the only row element.

We say that an array element arr[i] is a local minimum if it is less than to its neighbours, and local maximum if it is greater than to its neighbours.

Note:
For corner elements, we need to consider only one neighbour for comparison.    
For Example:
For the given array :  10 5 20 30 40 35 50

picture

The red circle at index 1,5 are local minima because elements at index 1, and 5 both are smaller to its neighbours.

The green circle at index 0,4,6 are local maxima, because element at index 4 is greater than its neighbours, and element at 0, and 4 are corner elements and also greater than its one neighbour.
Try solving now
05
Round
Easy
HR Round
Duration60 Minutes
Interview date27 Feb 2021
Coding problem1

Salary discussions and discussions about other offers.

1. Basic HR questions

Why I deserve the hike I am asking for. What if I don't join the company after getting the offer?

Problem approach

Tip 1 : Be polite.
Tip 2 : Be confident. 
Tip 3 : Have proper justifications about your demands.

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Ola
1426 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 5 problems
Interviewed by Ola
1611 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 5 problems
Interviewed by Ola
0 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Ola
1789 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
5 rounds | 12 problems
Interviewed by Walmart
29892 views
8 comments
0 upvotes
company logo
SDE - 2
3 rounds | 5 problems
Interviewed by Amazon
6765 views
1 comments
0 upvotes
company logo
SDE - 2
6 rounds | 8 problems
Interviewed by Amazon
5280 views
0 comments
0 upvotes