i
Oyo Rooms
Filter interviews by
Merge sort is a sorting algorithm that divides an array into smaller chunks and then merges them in sorted order.
Merge sort is a divide-and-conquer algorithm.
It recursively divides the array into two halves until each subarray has only one element.
Then it merges the subarrays in sorted order.
The merge step compares elements from both subarrays and places them in the correct order.
It has a time complexity of O(n log n).
I applied via Approached by Company and was interviewed in Aug 2024. There were 2 interview rounds.
DSA , medium n easy leetcode question was there
I applied via Campus Placement and was interviewed in Apr 2023. There were 4 interview rounds.
Coding Questions and SQL
3 coding questions and platform was hackerrank
Oyo Rooms interview questions for designations
3 coding questions and platform was hackerrank
Get interview-ready with Top Oyo Rooms Interview Questions
Reverse a LinkedList from m to n
Traverse the list to m-1th node
Reverse the nodes from m to n
Connect the reversed list to the original list
I was interviewed in Jan 2021.
Round duration - 90 Minutes
Round difficulty - Easy
This round was conducted on the HackerEarth platform. It had 2 sections and candidates were given a time of 1 hour 30 minutes.
Programming MCQs — 18 MCQs (each of 2 marks)
Questions were a little tricky. it tested upon one’s programming fundamentals. It had C/C++ output questions, pseudocode questions, Operating systems, and SQL queries.
Coding — 2 ( one contains 75 marks and the other contains 100 marks )
Our scores of the first 2 sections weren’t revealed. My MCQs went really well. I solved 2 coding questions in the coding section. Only 15 students got selected for the interview round, and I was one of them.
The idea is very simple, as standing at any point we will always have three choices to move. So we will make a recursive function and call it for all three choices and decrease ‘N’ by 1 each time. So when ‘N’ will reach 0 then we will check the current position, if it is ‘O’ then we can say we have found a way.
Complete Algorithm :
The basic idea is to iterate through the given array/list ‘profit’ and check for each index as a starting point, if any possible consecutive days in the range [ ‘A’, ‘B’ ] is possible, calculate its ‘sum’ and update the ‘maxProfit’ if the ‘sum’ is greater than ‘maxProfit’ ( where ‘maxProfit’ denotes the Maximum possible profit from the array/list ‘profit’ under the given range).
Algorithm:
Round duration - 60 Minutes
Round difficulty - Medium
This round was scheduled for 1 hour and the panel had 1 interviewer. Being a virtual interview, the first challenge that I faced was that the interviewer was not audible. I suggest you not panic in such a situation and use the chatbox feature (or contact HR if need be) to figure out something that works for you and the panel. We later connected over voice call (over the phone) with our videos ON (over a laptop) and continued with the interview.
The interview was very calm and helpful. I was able to solve all questions and I explained different approaches to solve the questions. Once he was convinced of my solution, he asked me to write the code on my own IDE.
The median of n numbers is the middle-most element among the numbers when sorted in ascending order, when n is odd, and is the average of the two middle-most elements, when n is even. To find the middle-most elements, we do this: For every new addition to the stream, we sort all the numbers that are currently present. This makes it easy for us to obtain the middle-most elements.
Space Complexity: O(1)Exp...The boundary ...
The boundary traversal of a binary tree can be broken down into 4 parts. These parts are given in the same order as they are present in the traversal-
O(1)
As constant extra space is used.
Time Complexity: O(n^2)Explanation:O(N^2), where N is the size of the array.
As we are running two nested loops of size N.
Round duration - 90 Minutes
Round difficulty - Medium
This was a technical + HR round. First, he asked me to introduce myself. This round was also based on your knowledge of DSA. I was asked 2 coding questions. Then he asked a couple of questions from OS and DBMS which were pretty easy. At last, we ended the interview on a good note. Then he asked me questions about myself.
Why I want to join OYO rooms.
What are my hobbies?
Goals in the next five years.
Create an array ‘arr’ of size ‘m’, use the array index ‘arr[i]’ to store the string at row ‘i’. Traverse the string ‘str’, identify the character’s row in the current iteration, and append that character to its corresponding row/index in ‘arr’.
Tip 1 : Practice coding questions as much as you can.
Tip 2 : Your communication skills must be good.
Tip 1 : Mention some good projects on your resume.
Tip 2 : Don't write any false information on your resume.
I applied via LinkedIn and was interviewed before Aug 2022. There were 3 interview rounds.
Linked list standard questions
I was interviewed in Jan 2021.
Round duration - 90 Minutes
Round difficulty - Hard
Timing was 11 am. Platform was quite well.
Approach: We can start the traversal of the paths from the rat’s starting position, i.e. (0,0) keeping track of the visited cells during the traversal. We will recursively go through all the paths possible until the last index of the grid (destination) is reached, and add the path information using which the rat successfully reached the end.
Algorithm is as follows:
Maintain a visited array and try to explore all the possibilities with the help of backtracking.
Tip 1 : Practice data structure based questions.
Tip 2 : OOPS is very important.
Tip 3 : Prepare OS and DBMS for mcq.
Tip 1 : Mention atleast 2 projects on resume.
Tip 2 : Keep it short in length.
I was interviewed before May 2021.
Round duration - 90 Minutes
Round difficulty - Easy
If the given number is 10 with the binary representation: 1010
The rightmo...
O(1)
In the worst case, no extra constant space is req...
Round duration - 60 Minutes
Round difficulty - Medium
We will run a breadth-first search(BFS), keeping states as water present in both the jugs. We will visit all the states, keeping a hashmap for visited states to not revisit the same state. If we reach a state such that the capacity of water in one of the jugs is equal to ‘Z’ liters or the sum of water in both the jugs is equal to ‘Z’ liters we return true else we return false.
Below is the detailed ...
Round duration - 60 Minutes
Round difficulty - Medium
Questions on DBMS, Os, Puzzles, Your projects.
What is indexing?
CPU Scheduling algos.
Tip 1 : explain your solution step by step so that they don't need to ask twice.
Tip 2 : don't give up so easily even if you don't know the things. sometimes interviewers also help if you try to find the solution.
Tip 3 : be confident
Tip 1 : Make your DSA and Algorithm as much as strong as possible.Main focus should be on Graphs and Trees.
Tip 2 : There are many standard algorithm on which questions are frequently asked.Try to practice as much as you can on them.
Tip 3 : Your project should be unique to create unforgettable impression.
Tip 1 : Add 2-3 best of your projects which shows something extraordinary.
Tip 2 : Add your achievements if you have any like getting top rank in a coding competition.
based on 19 reviews
Rating in categories
Business Development Manager
2k
salaries
| ₹4.4 L/yr - ₹14.5 L/yr |
Demand Manager
916
salaries
| ₹2.7 L/yr - ₹9.3 L/yr |
Key Account Manager
536
salaries
| ₹2.7 L/yr - ₹10.5 L/yr |
Hotel Manager
536
salaries
| ₹1.2 L/yr - ₹5.1 L/yr |
Guest Relation Executive
446
salaries
| ₹0.9 L/yr - ₹4.2 L/yr |
MakeMyTrip
Yatra
Treebo Hotels
FabHotels