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

SDE - 1

Ola
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 months
Topics: Data Structures, OOPS, System Design, Algorithms, Dynamic Programming, Reccursion, Arrays, LinkedLists, Trees, Graphs
Tip
Tip

Tip 1 : Complete the interviewbit Data Structures and algorithm questions
Tip 2 : Practice on leetcode, give weekly and biweekly contests on leetcode
Tip 3 : Give contests on codeforces
Tip 4 : Do projects in the field which you want to go into

Application process
Where: Campus
Eligibility: 7
Resume Tip
Resume tip

Tip 1 : Have some decent projects on resume in the field you are interested in.
Tip 2 : Don't lie on your resume, you'll easily get caught.
Tip 3 : Write some extra curricular activities which you have done in your spare time.

Interview rounds

01
Round
Medium
Online Coding Test
Duration60 mins
Interview date19 Oct 2021
Coding problem3

Timing was around 8pm, the contest consisted of 3 questions(easy, medium, medium questions)

1. Longest Increasing Subsequence

Moderate
30m average time
65% success
0/80
Asked in companies
IBMVisaOYO

For a given array with N elements, you need to find the length of the longest subsequence from the array such that all the elements of the subsequence are sorted in strictly increasing order.

Strictly Increasing Sequence is when each term in the sequence is larger than the preceding term.

For example:
[1, 2, 3, 4] is a strictly increasing array, while [2, 1, 4, 3] is not.
Problem approach

Applied the LIS logic

Try solving now

2. Longest Subarray Zero Sum

Moderate
18m average time
85% success
0/80
Asked in companies
OlaPayUAmazon

Given an array arr of length N consisting of positive and negative integers, return the length of the longest subarray whose sum is zero.

Problem approach

Sorted and solved the question

Try solving now

3. Rod Cutting Problem

Moderate
40m average time
75% success
0/80
Asked in companies
Goldman SachsSamsungRazorpay

Given a rod of length ‘N’ units. The rod can be cut into different sizes and each size has a cost associated with it. Determine the maximum cost obtained by cutting the rod and selling its pieces.

Note:
1. The sizes will range from 1 to ‘N’ and will be integers.

2. The sum of the pieces cut should be equal to ‘N’.

3. Consider 1-based indexing.
Problem approach

Applied the standard logic

Try solving now
02
Round
Medium
Video Call
Duration45 mins
Interview date20 Oct 2021
Coding problem2

It was around 12pm

1. Reverse Alternate Nodes

Moderate
36m average time
51% success
0/80
Asked in companies
HikeAmazonOla

You have been given a perfect binary tree of 'N' nodes. Your task is to reverse alternate levels of the given binary tree. That is reverse level 2, level 4, level 6, and so on. The root is at level 1.

A perfect binary tree is a binary tree in which all the interior nodes have two children, and all leaves have the same depth or same level.

Example :
Given binary tree :

Invert

After the reversal of alternate nodes, the tree will be :

afterInvert

Problem approach

Input: 1->2->3->4->5->6

Output: 1->3->5->6->4->2

Explanation: Two lists are 1->3->5 and 2->4->6, 

reverse the 2nd list: 6->4->2. 

Merge the lists 



Input: 12->14->16->18->20

Output: 12->16->20->18->14

Try solving now

2. SQL question

Query on joining two different tables

03
Round
Medium
HR Round
Duration30 mins
Interview date20 Oct 2021
Coding problem1

It was around 4pm

1. Basic hr Questions

What businesses does ola have?

Personal questions about family

Why do you want to join ola?

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 - 1
6 rounds | 15 problems
Interviewed by Ola
3530 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Ola
1704 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Ola
1244 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 4 problems
Interviewed by Ola
976 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes