Round 1
Questions:
Given a function book
which accepts two arguments start_time
and end_time
as parameters. Return either True or False in case the room can be booked or not. There is no time variable in this function, so keep it simple.
Example:
book(10, 20) -> True book(20, 30) -> True book(5, 10) -> False
The question was open-ended; I had asked if there is any effect as time passes.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.