Problem statement

You need to implement a class called MyCalendar that has a function called book(). This function takes the starting and ending time of an event as book(start, end) as input, and returns a Boolean representing whether the event was booked successfully. An event can be booked ...

Create a free account to view this lesson.

Continue your learning journey with a 14-day free trial.

By signing up, you agree to Devpath's Terms of Service and Privacy Policy