Design a meeting scheduler.
Unlock detailed company stats for this questionUpgrade
Functional requirements: schedule a meeting, add participants, check conflicts, reject the meeting if a conflict exists. Out of scope for the interview: notifications, UI, time zones, recurring meetings, persistence. Core entities: User (id, name); TimeSlot (start, end, with an overlaps method: this.start < other.end && other.start < this.end); Meeting (id, participants, timeSlot). A MeetingScheduler holds all meetings and decides whether a new meeting is allowed: for each existing meeting, if the time slots overlap and at least one participant is common, reject; otherwise add it.
Expect follow-ups like
- Where does conflict checking happen?
- What if two people book the same room at the exact millisecond?
Format · Salesforce SDE-2 LLD round.
Also asked as · Design and implement a meeting room scheduler.; Design a meeting room scheduler.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course



