Jump Trading interview question

Graph theory problem. LC hard.