Gas Station(LeetCode)
摘要:There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from station i to its...
阅读全文
posted @ 2014-04-10 22:23
浙公网安备 33010602011771号