134. Gas Station

https://leetcode-cn.com/problems/gas-station/

如果有解则sum[n-1]>=0

转载自https://leetcode-cn.com/problems/gas-station/solution/guan-fang-ti-jie-kan-qi-lai-hao-fu-za-lai-kan-yi-k/

posted @ 2020-09-18 21:13  aaaaassss  阅读(61)  评论(0编辑  收藏  举报