WORMHOLES Help

Code Link: CodeChef: Practical coding for everyone

My approach is to iterate over the time slots and do a binary search for a number less than the start time and greater than the end time if possible. Please let me know which test case I may have left out.

Thank You