Object-Oriented Design: Hotel Room Booking System
Company: Apple
Role: Software Engineer
Category: System Design
Difficulty: medium
Interview Round: Onsite
Overview: This question evaluates object-oriented design skills through modeling a hotel room booking system with availability checks and reservations. It is commonly asked to assess class decomposition, interval-overlap logic, and data structure choices for efficient scheduling queries. A follow-up on concurrent booking requests tests practical understanding of race conditions and locking strategies in a system design context.