Gas Station
You have a circular route of gas stations. gas[i] is fuel at station i, cost[i] is fuel needed to reach i+1. Return the starting index that allows a full loop, or -1 if impossible.
You have a circular route of gas stations. gas[i] is fuel at station i, cost[i] is fuel needed to reach i+1. Return the starting index that allows a full loop, or -1 if impossible.