uber logo
Uber· SDE II

Uber SDE2 DSA Interview Round

Posted
31 May 2025
331 reads

Summary

I was asked to design a reservation system in a DSA interview round.

How it went

Question : Design a Reservation System where you are given a list of rooms [roomA, roomB, ...] and starTime and endTime of a meeting. Write a method scheduleMeeting(startTime, endTime) whick books a room if any room is available for that particular time period and returns the roomId , else errors out.

You need to provide the optimised approach for booking the room.

Questions asked (1)

  1. 01

    Design a Room Reservation System

    Data Structures & Algorithms

    Design a Reservation System where you are given a list of rooms [roomA, roomB, ...] and starTime and endTime of a meeting. Write a method scheduleMeeting(startTime, endTime) whick books a room if any room is available for that particular time period and returns the roomId , else errors out. You need to provide the optimised approach for booking the room.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Uber recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!