Pregunta de entrevista de DoorDash

Leetcode medium questions involving graphs and binary search