Design a Participant Meeting Scheduler
Model one-off meetings, participant calendars, conflict-safe scheduling, rescheduling, cancellation, and concurrent booking.
For this exercise, assume an organizer creates, reschedules, and cancels one-off meetings for a set of participants. Meetings use UTC half-open intervals, have stable identities, and contain at least one participant.
A create or reschedule succeeds only when every participant is free for the complete interval; a rejected request leaves all schedules unchanged. Cancellation releases the interval for every participant.
Recurring meetings, rooms, notifications, time-zone conversion, permissions, and durable persistence are outside scope. Design the object model, responsibilities, focused interfaces, and ordered interactions.
Explain how the design distinguishes invalid intervals, duplicate or unknown meeting IDs, participant conflicts, and stale updates. As a follow-up, show how two concurrent requests involving the same participant cannot both commit overlapping meetings.