Booking Holdings interview question

It was on Task Scheduling