19 questions · from 2 interviews

Oyo Rooms interview questions

Every question candidates reported from their Oyo Rooms interviews, most frequently asked first. Each links to the write-up it came from, so you can see the round and how it went.

Oyo Rooms coding and DSA questions

  1. 01

    Binary Tree Cameras

    Given a binary tree, find the minimum number of cameras needed to monitor every node. A camera at a node can monitor its parent, itself, and its immediate children.

    Hard · From OYO Rooms (PRISM) | Associate Software Development Engineer | Campus Placement Interview Experience

  2. 02

    Modified Meeting Rooms II

    Given a list of meeting intervals, determine the minimum number of meeting rooms required. The interview used a customized variation of the standard Meeting Rooms II problem.

    Medium · From OYO Rooms (PRISM) | Associate Software Development Engineer | Campus Placement Interview Experience

  3. 03

    Balanced Parentheses Problem

    Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if open brackets must be closed by the same type of brackets and open brackets must be closed in the correct order.…

    Easy · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  4. 04

    Find the One Missing Number in Range

    Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.

    Easy · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  5. 05

    Binary Tree Right Side View

    Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.

    Medium · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  6. 06

    Intersection Point of Two Linked Lists

    Given the heads of two singly linked lists headA and headB, return the node at which the two lists intersect. If the two linked lists have no intersection at all, return null.

    Easy · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

Oyo Rooms other questions

  1. 01

    JavaScript Closures

    Explain JavaScript closures and how they work. Provide examples of their use cases and discuss common pitfalls.

    From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  2. 02

    Polyfill for Array.prototype.filter

    Write a polyfill implementation for the Array.prototype.filter method in JavaScript.

    Medium · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  3. 03

    JavaScript 'this' Keyword

    Explain the different contexts in which the 'this' keyword behaves in JavaScript. Provide examples for each scenario (e.g., global, object method, constructor, call/apply/bind, arrow functions).

    From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  4. 04

    JavaScript Function Prototypes

    Explain JavaScript Function Prototypes, the prototype chain, and how inheritance works in JavaScript using prototypes.

    From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  5. 05

    Lazy Loading Mechanism

    Explain how lazy loading works, including its benefits and common implementation techniques in web development.

    From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  6. 06

    HTML, CSS, JS for a Modal Box

    Write HTML, CSS, and JavaScript code to create a functional modal box. The modal should open and close correctly, and be styled appropriately.

    Medium · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  7. 07

    Closures in Loops

    Discuss issues and solutions related to closures when used inside loops in JavaScript.

    From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  8. 08

    Event Bubbling and Event Capturing

    Explain event bubbling and event capturing in JavaScript. Describe their differences and use cases.

    From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  9. 09

    CSS Design on Codepen

    Recreate a given CSS design using Codepen. The specific design details were provided during the interview.

    Medium · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  10. 10

    Object.assign() and Object.seal()

    Explain the purpose and usage of Object.assign() and Object.seal() methods in JavaScript. Discuss their impact on object properties and extensibility.

    From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  11. 11

    Polyfill for Array.prototype.reduce

    Write a polyfill implementation for the Array.prototype.reduce method in JavaScript.

    Medium · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  12. 12

    Login Gallery App with React, Redux, HOC

    Design and implement a login gallery application using React and Redux. The application should handle errors through a Higher-Order Component (HOC).

    Hard · From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

  13. 13

    Blocking and Non-blocking API Calls

    Explain the concepts of blocking and non-blocking API calls in web development, including their implications for performance and user experience.

    From Interview Experience at OYO Rooms for Web Development Engineer(WDE) 2

Oyo Rooms interview questions FAQ

What questions are asked in Oyo Rooms interviews?

Candidates reported 19 distinct questions across 2 Oyo Rooms interviews. 6 coding and DSA questions, 13 other questions.

How difficult are Oyo Rooms interview questions?

Of the questions candidates rated, 27% were easy, 55% medium and 18% hard.