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

SDE - 1

Ola
upvote
share-icon
2 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3.5 months
Topics: Data Structures, Pointers, OOPS, Array, Algorithms, Reasoning
Tip
Tip

Tip 1 : Read about job description & Company information
Tip 2 : Practice by HackerRank coding question
Tip 3 : Make projects

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

Tip 1 : Add Keywords from the Job Posting
Tip 2 : Do not put false things on resume.

Interview rounds

01
Round
Hard
Online Coding Test
Duration50 minutes
Interview date4 Jan 2022
Coding problem5

- Morning time
- Environment was good.
- No
- Interviewer was not soo good

1. Bubble Sort

Easy
10m average time
90% success
0/40
Asked in companies
Lenskart.comOptumWells Fargo

Bubble Sort is one of the sorting algorithms that works by repeatedly swapping the adjacent elements of the array if they are not in sorted order.

You are given an unsorted array consisting of N non-negative integers. Your task is to sort the array in non-decreasing order using the Bubble Sort algorithm.

For Example:
Bubble Sort implementation for the given array:  {6,2,8,4,10} is shown below :-

Alt test

Try solving now

2. Count distinct Bitwise OR of all subarrays

Easy
10m average time
90% success
0/40
Asked in companies
Samsung R&D InstituteOYOOla

You are given an array consisting of N positive integers, your task is to count the number of distinct possible values that can be obtained by taking the bitwise OR of the elements of all possible subarrays of the given array

Note:

1) A subarray is a part of the array which is contiguous (i.e. elements in the original array occupy consecutive positions) and inherently maintains the order of elements. For example, the subarrays of the array {1, 2, 3} are {1}, {1, 2}, {1, 2, 3}, {2}, {2, 3}, and {3}.
2) Bitwise OR operation takes two numbers and performs OR operation on every bit of those two numbers. For example, consider two numbers 2 and 3 their bitwise OR will be 3. Because the binary representation of 2 is 10 and the binary representation of 3 is 11. And OR of 10 and 11 will be 11 which evaluates to 3.
3) The array may contain duplicate elements.
Try solving now

3. Subarray With Given Sum

Moderate
15m average time
85% success
0/80
Asked in companies
Thought WorksAdobeInfo Edge India (Naukri.com)

Given an array ARR of N integers and an integer S. The task is to find whether there exists a subarray(positive length) of the given array such that the sum of elements of the subarray equals to S or not. If any subarray is found, return the start and end index (0 based index) of the subarray. Otherwise, consider both the START and END indexes as -1.

Note:

If two or more such subarrays exist, return any subarray.

For Example: If the given array is [1,2,3,4] and the value of S is equal to 7. Then there are two possible subarrays having sums equal to S are [1,2,3] and [3,4].

Try solving now

4. Unique Matrix

Moderate
15m average time
85% success
0/80
Asked in company
Ola

You are given a binary matrix 'MATRIX' of 'N' rows and 'M' columns.

Your task is to return all the unique rows in the order they appear in the matrix.

For example:

Matrix = [ [1,0,1], [0,0,1 ], [1,0,1 ]] 
Result = [ [1,0,1], [0,0,1] ]. 
The row [1,0,1] is before [0,0,1] as it appears before in matrix.

Note: In the binary matrix, all the entries are either 0 or 1.

Try solving now

5. Count Even Or Odd

Hard
30m average time
60% success
0/120
Asked in companies
UberOlaExpedia Group

Tanmay and Rohit are best buddies. One day Tanmay gives Rohit a problem to test his intelligence and skills. He gives him an array of N natural numbers and asks him to solve the following queries:-

Query 0 :

0 x y

This operation modifies the element present at index x to y.

Query 1 :

1 x y 

This operation counts the number of even numbers in range x to y inclusive.

Query 2 :

2 x y 

This operation counts the number of odd numbers in range x to y inclusive.

Try solving now
02
Round
Easy
HR Round
Duration20 Minutes
Interview date21 Jul 2022
Coding problem1

- Morning time - Environment was good. - No - Interviewer was good

1. Basic HR Questions

How would your current manager describe you?

What would you change about your current job description? 

How do you stay organized in your current position? 

Tell about a time when you made a mistake. What did you do to fix it?

Problem approach

Tip 1 : Practice is must
Tip 2 : Speaking skills should be good

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
4 rounds | 5 problems
Interviewed by Ola
1703 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Ola
1243 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Ola
0 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
58237 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes