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

SDE - 1

OLX Group
upvote
share-icon
4 rounds | 7 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 3 Months
Topics: Java, Data Structures, SQL, LLD, Spring Boot
Tip
Tip

Tip 1 : Practice 200-300 programming questions covering all major topics
Tip 2 : Good command over Java (or other position specific language or framework that you are applying for).
Tip 3 : Good knowledge of the projects that you have worked on in past

Application process
Where: Naukri
Resume Tip
Resume tip

Tip 1 : Must have position specific skills
Tip 2 : Worked on projects in previous companies and be prepared to explain thorough working of projects.

Interview rounds

01
Round
Medium
Face to Face
Duration60 minutes
Interview date14 Feb 2022
Coding problem2

Face to face round. Interviewer was cool and supportive. After prior introduction, he moved to problem solving round .

1. Target Sum

Moderate
0/80
Asked in companies
OLX GroupZSAmazon

You are given an array ‘ARR’ of ‘N’ integers and a target number, ‘TARGET’. Your task is to build an expression out of an array by adding one of the symbols '+' and '-' before each integer in an array, and then by concatenating all the integers, you want to achieve a target. You have to return the number of ways the target can be achieved.

For Example :
You are given the array ‘ARR’ = [1, 1, 1, 1, 1], ‘TARGET’ = 3. The number of ways this target can be achieved is:
1. -1 + 1 + 1 + 1 + 1 = 3
2. +1 - 1 + 1 + 1 + 1 = 3
3. +1 + 1 - 1 + 1 + 1 = 3
4. +1 + 1 + 1 - 1 + 1 = 3
5. +1 + 1 + 1 + 1 - 1 = 3
These are the 5 ways to make. Hence the answer is 5.
Problem approach

Used recursion which passed all cases. But was asked to optimise it. Then after giving some thought, used memorisation and provided the new solution. From this approach, the interviewer was happy.

Try solving now

2. Merge Two Sorted Arrays

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

Ninja has been given two sorted integer arrays/lists ‘ARR1’ and ‘ARR2’ of size ‘M’ and ‘N’. Ninja has to merge these sorted arrays/lists into ‘ARR1’ as one sorted array. You may have to assume that ‘ARR1’ has a size equal to ‘M’ + ‘N’ such that ‘ARR1’ has enough space to add all the elements of ‘ARR2’ in ‘ARR1’.

For example:

‘ARR1’ = [3 6 9 0 0]
‘ARR2’ = [4 10]
After merging the ‘ARR1’ and ‘ARR2’ in ‘ARR1’. 
‘ARR1’ = [3 4 6 9 10]
Problem approach

Used the merging logic of merge sort. Traversed the first array in forward direction and second in backward direction to pick elements and merge by comparing them.

Try solving now
02
Round
Medium
Face to Face
Duration60 minutes
Interview date17 Feb 2022
Coding problem2

After introduction DS question was given to solve. After that Java related questions related to Collections, Multithreading, stream API and Spring Boot were asked. Interviewer was more focused on Java and framework as coding was done in first round.

1. Largest Number in Binary Tree

Moderate
36m average time
60% success
0/80
Asked in companies
SamsungSprinklrOLX Group

You have been given a Binary Tree of 'N' nodes where the nodes have integer values.

Your task is to find the largest number that could be formed by concatenating all its nodes values.

For example:
For the given binary tree:   

tree example

Output: 96553210    

Explanation: After concatenating all the numbers in the above binary tree this is the largest number that can be formed. 
Problem approach

Question was quite simple. Used BFS approach to traverse the tree, compare and find largest element.

Try solving now

2. JAVA

Explain Collections, Multithreading, stream API and Spring Boot

Problem approach

Tip 1 : Go through the basic concepts of JAVA

03
Round
Medium
Face to Face
Duration60 minutes
Interview date21 Feb 2022
Coding problem2

Interview was schedule in early evening and mainly focused on design.

1. System Design

For a flight booking system, design a request body for flight search specifying the classes, interfaces and enums. And it should be compilable.

Problem approach

Tip 1 : Ask all the details from the interviewer so that you are close to his/her expectation.
Tip 2 : Carefully try to figure out classes, methods, interfaces, enums that will help to reach the design.
Tip 3 : Must be prepared with the knowledge of projects mentioned. I was asked to design this as I had worked on flight booking system.

2. System Design

Give a basic design for a music player app for the feature where a person can play next, previous and random songs.

Problem approach

Tip 1 : Come with a basic approach and feel free to ask for some hint if you are stuck at some point.
Tip 2 : I gave the solution using array, later after some discussion and some hint , gave a new approach using 
circular array.

04
Round
Easy
HR Round
Duration60 minutes
Interview date24 Feb 2022
Coding problem1

This round was taken by Engineering Manager. This was just a formal round. Had a brief discussion on projects done in previous company.

1. Basic HR Question

  • Tell me about yourself
  • Explain the projects you worked on in the previous company
  • What are the technologies that you are familiar with?
  • Why do you want to join OLX?
Problem approach

Tip 1 : Be honest, Don't fake anything

Tip 2 : Stay confident, while replying to the manager

 

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
3 rounds | 3 problems
Interviewed by OLX Group
1725 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by OLX Group
793 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by OLX Group
803 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by OLX Group
708 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