Oyo Rooms interview questions

660 questions from 72 candidate reports · 2015 to 2024

Online test → Technical → Technical·69% entry level

DSA

Showing 36 of 420 reported in this area

Find the median of a stream of integers (running median).
asked 5×mediumPractice this →
Find the longest increasing subsequence in an array
asked 4×mediumPractice this →
Boundary traversal of a binary tree
asked 3×mediumPractice this →
Find the diameter of a binary tree.
asked 3×mediumPractice this →
Print the left view of a binary tree
asked 3×mediumPractice this →
Connect nodes at the same level in a binary tree
asked 3×mediumPractice this →
Count possible decodings of a given digit sequence
asked 3×mediumPractice this →
Find the longest palindromic substring in a string
asked 3×mediumPractice this →
Detect and remove loop in a linked list
asked 2×mediumPractice this →
Longest Consecutive Sequence in an array
asked 2×mediumPractice this →
Print all permutations of a given string
asked 2×mediumPractice this →
Find the largest subarray with equal number of 0s and 1s
asked 2×mediumPractice this →
Find the next greater number with the same set of digits
asked 2×mediumPractice this →
Print all nodes at distance K from a given node in a binary tree
asked 2×mediumPractice this →
Find the maximum size square sub-matrix with all 1s in a given binary matrix.
asked 2×mediumPractice this →
Clone a linked list with next and arbitrary (random) pointer
asked 2×hardPractice this →
Find the maximum of all subarrays of size K using a sliding window
asked 2×hardPractice this →
Count the number of ways to travel a cyclic path in N steps in a triangular pyramid
asked 2×hardPractice this →
Reverse a singly linked list
asked 2×easyPractice this →
Check if a binary tree is a Binary Search Tree (BST)
asked 2×easyPractice this →
Find the missing number in an Arithmetic Progression
asked 2×easyPractice this →
Generate Gray code sequence for a given number of bits
asked 2×easyPractice this →
Given an array where each element represents the maximum number of steps that can be jumped forward from that element, find the minimum number of jumps to reach the end
asked 2×easyPractice this →
Coin Change problem
asked oncemediumPractice this →
Minimum cost path in a matrix
asked oncemediumPractice this →
Next Greater Frequency Element
asked oncemediumPractice this →
Reverse a stack using recursion
asked oncemediumPractice this →
Remove BST keys in a given range
asked oncemediumPractice this →
Implement merge sort for an array
asked oncemediumPractice this →
Rotate a binary tree to the right
asked oncemediumPractice this →
Design and implement an LRU Cache.
asked oncemediumPractice this →
Convert a string into zigzag pattern
asked oncemediumPractice this →
Print the top view of a binary tree.
asked oncemediumPractice this →
Connect ropes with minimum total cost
asked oncemediumPractice this →
Implement merge sort on a linked list
asked oncemediumPractice this →
Print the right view of a binary tree
asked oncemediumPractice this →

CS fundamentals

Showing 13 of 256 reported in this area

What is the difference between a process and a thread?
asked 4×easyPractice this →
What is the difference between a mutex and a semaphore?
asked 3×easyPractice this →
Explain ACID properties in DBMS
asked 2×easyPractice this →
Explain the differences between TCP and UDP.
asked 2×easyPractice this →
Explain Peterson’s Algorithm
asked oncemediumPractice this →
Explain database normal forms.
asked oncemediumPractice this →
Explain how a DNS lookup works
asked oncemediumPractice this →
Explain design patterns in Java
asked oncemediumPractice this →
Explain fork vs exec system calls
asked oncemediumPractice this →
Explain CPU scheduling algorithms.
asked oncemediumPractice this →
Explain paging in operating systems
asked oncemediumPractice this →
Explain database indexing techniques
asked oncemediumPractice this →
Explain how indexing works in an RDBMS.
asked oncemediumPractice this →

System design

Showing 5 of 74 reported in this area

Design a chess game (Low Level Design)
asked 2×hardPractice this →
Design a database schema.
asked oncemediumPractice this →
Design a vending machine.
asked oncemediumPractice this →
Design a Ludo or Snake & Ladders game
asked oncemediumPractice this →
Design classes for a game of billiards
asked oncemediumPractice this →

Behavioural

Showing 3 of 18 reported in this area

How would you convince a lead engineer to switch from Oracle to MySQL for a new project?
asked oncemediumPractice this →
As a hotel owner, how would you decide the pricing for your hotel rooms? What factors would you consider?
asked oncemediumPractice this →
If you are a lead engineer and a junior proposes using MySQL, how would you evaluate and handle the situation?
asked oncemediumPractice this →

Puzzles

Showing 3 of 6 reported in this area

Puzzle: Rat and poison problem
asked oncemediumPractice this →
100 doors puzzle: determine which doors remain open after 100 passes
asked oncemediumPractice this →
There are three buckets with some balls in each. You can double the number of balls in one bucket by taking the required number of balls from another bucket. Determine whether it is possible to equalize all three buckets using only this operation.
asked oncehardPractice this →

Showing 60 of 660 questions. Ranked by how often the same question came back across reports.

Practise a Oyo Rooms-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does Oyo Rooms ask?

Candidate interview reports most often cover DSA (54%) and CS fundamentals (33%).

How many rounds does Oyo Rooms interview have?

Candidate interview reports show an average of 3.4 rounds per experience, with a typical sequence of Online test → Technical → Technical. Individual interview paths can vary.

Is the Oyo Rooms interview hard?

Among questions with a reported difficulty, the mix is easy 23%, medium 65%, hard 12%.

Keep reading