Problem: Meeting Room Scheduler
Background:
A company has multiple meeting rooms. Employees want to book these rooms for meetings. Your task is to build a simple meeting room scheduler.
Requirements:
Implement a class-based system for managing meeting room bookings.
Each room has:
- A unique name.
- A capacity.
A booking has:
- A meeting room.
- A start time and end time.
- A list of attendees.
This problem asks you to design a class-based meeting room booking system. The key is to model rooms and bookings clearly: each room has a unique name and capacity, while each booking stores the room, time range, and attendee list. A good solution typically checks for time conflicts between reservations and verifies that the room can accommodate the number of attendees.