OLA Cabs Interview Questions – Set 1

Company: Ola Cabs
Location: Bangalore

I applied through a recruiter. The process took 1 day I applied through a recruiter. The process took 1 day.

Written Coding Test (1 hour)
I was asked to design a Bowling game and write code for it with proper OOPS concepts .
The problem statement was not difficult . Main focus was to check coding skills and writing good quality code pertaining to OOPs concept .

Round 1:
Q1. Given an array containing 0,1,2. Sort them maintaining the order in which they were in the original array.
Q2. Basic Oops concepts, Singleton class?
Q3. Will async/await runs in UI thread or some other random thread?
Q4. Since abstract class have abstract members, why Interface has been introduced?

Round 2:
Q1. Ola operates within city limits (a fixed area). How to determine a user is inside that area and then show him available cabs.
(Simpler problem is how to determine whether a point is inside a polygon or not).
Q2. Find highest consecutive character in a string.
Q3. Race condition?
Q4. Project discussion?

Round 3: ()Hiring manager)
Q1. Why do you want to leave current org. ?
Q2. Why do you want to join StartUp ?

Technical round was good since the guy who interviewed me was so technical.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Post Navigation