LiveRamp Interview Question

Coding challenge: frog problem. Phone call: basketball free throws and shortest path in a graph