GOOGLE SRE SWE ROUND-1 2024

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-11-28Added By Anonymous
Source: Link

Company: Google
Role: SRE SWE
Interview Stage: Phone Screen
Location: unknown
Year: 2024

Original Post Content:

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