摘要: 加油站 问题链接:https://leetcode-cn.com/problems/gas-station/ 一、问题描述 在一条环路上有 N 个加油站,其中第 i 个加油站有汽油 gas[i] 升。 你有一辆油箱容量无限的的汽车,从第 i 个加油站开往第 i+1 个加油站需要消耗汽油 cost[i 阅读全文
posted @ 2021-07-26 21:19 瑜琦 阅读(239) 评论(0) 推荐(0)