GOOGLE SRE SWE ROUND-1 2024

Given a function book which accept two argument start_time and end_time as parameter. Return either True or False in case the room can be booked or not. There is no time variable in this fuction 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.

Comments (4)