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

SDE - 2

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

Interview preparation journey

expand-icon
Preparation
Duration: 6 months
Topics: Javascript, React, DSA, UI, Algorithms, Build Tools, Testing Framework
Tip
Tip

Tip 1: Keep giving interviews and try to practice the questions that you are unable to answer in the interview.
Tip 2: Practice at least 1 hour daily on some of the online programming websites like Leetcode/CodeStudio.
Tip 3: Daily read some articles or watch tech videos to get up to date in the market.
 

Application process
Where: Naukri
Eligibility: Above 2 years of experience
Resume Tip
Resume tip

Tip 1 : Resume should be descriptive
Tip 2 : Mention all projects with descriptions and technology used
Tip 3 : Mention experience clearly
 

Interview rounds

01
Round
Medium
Video Call
Duration90 minutes
Interview date10 Jun 2021
Coding problem3

Because I was giving an interview for the SDE-2 role. In the first round, I encountered advance JS questions like the concept of this, the difference between the arrow and normal function, variable value and reference, polyfills(map, reduce, filter, debounce, throttle, compose), promisify, currying, coluser, hoisting and some UI problems. 

The interviewer was so polite and he was giving little hints whenever I was stuck somewhere.

1. JavaScript Question

Write a common async function for the promisify function

Problem approach

I know asynchronous programming so I first made a function that accept 3 parameters and based on the condition call the callback coming from the parameter. After I made another function that returns the function and that function returns the promise.

2. JavaScript Question

Write a memorized function to cache the result returned from the function.

Problem approach

I just made an object and took the result as a key and stored the value corresponding to the key and before insertion, I check from the object if the result is present in the object or not. It is basically a kind of hashing.

3. JavaScript Question

Write a compose function, which will accept functions as a parameter and return the combined result from all the functions.

Problem approach

I just made the 3 functions and which are returning something then I made compose function take args parameter, which gives all the passed parameters in the form of an array. Then I reverse the array and pass the output of the current function to the next function and at last return the final output.

02
Round
Medium
Video Call
Duration60 minutes
Interview date15 Jun 2021
Coding problem3

This round focused more on advanced JS concepts, React and React-Redux knowledge

1. JavaScript Question

Explain “This” keyword and its significance in JS

Problem approach

They give an object which contains functions(arrow and regular) and values. They want me to tell the output of the console written inside the function with a different context.

Because in JS this regular and arrow function works differently they try to manipulate students on it.

 

2. JavaScript Question

Write a Throttle polyfill for a function in JS

Problem approach

Before writing the polyfill of any function. You should have a basic understanding of how that function works. 

Basically, the throttle is when you are calling a function at a regular interval. So he wants to call for the first at last.

So In the normal throttle function, I took a variable to keep track of the first run if the first run is not defined I call the callback otherwise clear the timer and set the timeout to call the function for the given time.

3. React Question

Write a custom hook in react.

Problem approach

Make a function with state and effect and return the result in the form of an object.

03
Round
Medium
Video Call
Duration60 minutes
Interview date25 Mar 2022
Coding problem2

Advance Js questions and Polyfills

1. Most Frequent Element

Easy
0/40
Asked in companies
SAP LabsOLX GroupWalmart

Given an alphabetical string ‘S’. Return the most frequent character of ‘S’. If there are multiple characters with the same frequency equal to the maximal frequency, return the lexicographically smallest character with maximal frequency.

For example:
‘S’ = brutegroot
The most frequent characters are [o, r, t]. All of these characters appear 2 times each.
As among all the options, ‘o’ is lexicographically smallest. So the answer is ‘o’.
Hence output will be o.
Problem approach

I solved it with hash mapping. I spilt the string into an array and keep track of every char and count in the obj. If char is not in the obj I initialized the char count with 1 else I increase the count by 1. After calculation, I found the max value in the object.

Try solving now

2. JavaScript Question

Explain deepClone polyfill

Problem approach

First I checked the type of passed params and based on the type recursively called the same function and assigned the value to the new object.

05
Round
Easy
HR Round
Duration30 minutes
Interview date29 Mar 2022
Coding problem1

This round is generally to know the candidate's mindset for the position, Notice period, whether holding an offer or not and salary discussion. Also, they explain the benefits and the process.

1. Basic HR Question

Tell me something not there in your resume.

Problem approach

If you get this question, it's an opportunity to choose the most compelling information to share that is not obvious from your resume.


Example :
 

Strength -> I believe that my greatest strength is the ability to solve problems quickly and efficiently, which makes me unique from others.


Ability to handle Pressure -> I enjoy working under pressure because I believe it helps me grow and become more efficient.


Tip : Emphasize why you were inspired to apply for the job. You can also explain that you are willing to invest a great deal of energy if hired.
These are generally very open-ended questions and are asked to test how quick wit a candidate is. So there is nothing to worry about if you have a good command over your communication skills and you are able to propagate your thoughts well to the interviewer.

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
Software Developer
3 rounds | 8 problems
Interviewed by OLX Group
1376 views
0 comments
0 upvotes
company logo
SDE - 2
4 rounds | 5 problems
Interviewed by OLX Group
1412 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by OLX Group
1725 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 5 problems
Interviewed by OLX Group
1284 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