Available question text
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 2 records
Google
Leetcode 729. My Calendar I
Reported Nov 28, 2024 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View sourceAmazon
My Calendar I
Reported Jul 27, 2026 · 1 source report
MID_LEVEL
Source snapshot: Nov 12, 2026
View sourceRead this source's wording
Implement a `MyCalendar` class that supports booking events on a half-open interval `[startTime, endTime)`, where a new event can only be added if it does not cause a double booking (i.e., no overlap with any existing event). The `book(int startTime, int endTime)` method should return `true` if the event was successfully added, or `false` otherwise.