Design a meeting scheduler. Users invite others to a meeting at a time, the system books a free room, handles accept and decline, and avoids double booking people or rooms.
It must
- A meeting has an organiser, attendees, a time range and a room.
- The system finds a room that is free for the whole range and big enough.
- A user cannot be double-booked; conflicts are reported.
- Attendees get an invite and can accept or decline.
- Meetings can repeat (daily, weekly).
Keep in mind
- Two meetings must never take the same room at overlapping times, even when booked at once.
- Time is stored in one zone (UTC) and shown in the user's zone.
- Email delivery of invites is out of scope.