DoorDash Interview Question

Leetcode medium questions involving graphs and binary search