gas station

actually a math quiz
note the fact that if sum(gas) - sum(cost) >= 0, there must exist an
start point that satisfy the requirement.

then use the same method as the longest consecutive sequence