OYO Rooms Interview Experience | Set 7
Round 1:
2 coding questions:
- Given an array, find an element before that all elements are smaller than it, and after that all are greater than it. return index if any such item is present. otherwise return -1.
- Given a binary tree. Print bottom view from left to right.
Round 2:
Discussed round 1 solutions.
- Print a linked list in zigzag order.
e.g. 1->2->3->4->5 output should be : 1, 5, 2, 4,3
Hint: you can modify the list
- There is incoming stream of integers. You have to continuously find kth largest element.
- A knight is present at initial position (i,j) in a nxn matrix. you have given a destination position (x,y). Find out minimum number of moves in that knight can reach to destination.
Round 3:
- You have given an integer array and only three operations are allowed ( subtract x, add x, pass) any of them only once. You have to tell by using these operations can you equalize the array or not. e.g. arr = {9,3,6} output: yes, by using -3, +3, pass
- Tell if a given number N is perfect square or not.
- One basic multi-threading question
- One basic dynamic programming question (Similar to Fibonacci series)
Recommended Posts:
- Oyo Rooms Interview Experience | Set 3 (For Backend Engineer, Experience <=1yrs)
- Oyo Rooms Interview Experience | Set 12 (4+ experience Backend Developer)
- OYO Rooms Interview Experience
- Oyo Rooms Interview Experience | Set 9
- OYO Rooms Interview Experience | Set 10 (SDE-1)
- OYO Rooms Interview Experience | Set 6
- Oyo Rooms Interview Experience for SDE(freshers)
- Oyo Rooms Interview Experience (On-Campus for SDE)
- OYO Rooms Interview Experience | Set 5 (For SDE2)
- OYO Rooms Interview Experience | Set 5 (Off-Campus for SDE)
- OYO Rooms Interview Experience (On Campus)
- Oyo Rooms - Interview experience - SDE-1(On-Campus)
- OYO Rooms Interview Experience 2018
- OYO Rooms Interview Experience (On-Campus for SDE-1)
- OYO Rooms Interview Experience | Set 21 (On Campus)
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



