DIY: My Calendar

Solve the interview question "My Calendar" in this lesson.

Problem statement

You need to implement a module called MyCalendar that has a function called book(). This function takes the struct object along with the starting and ending time of an event as book(obj, start, end_var) as input, and returns a Boolean representing whether the event ...