摘要:
class Solution { public int canCompleteCircuit(int[] gas, int[] cost) { int total=0,cur=0,start=0; for(int i=0;i=0?start:-1; } } 阅读全文
posted @ 2017-10-07 05:07
Weiyu Wang
阅读(142)
评论(0)
推荐(0)
摘要:
public class Solution { public UndirectedGraphNode cloneGraph(UndirectedGraphNode node) { if(node==null) return null; Map map=new HashMap(); Queue que=new Link... 阅读全文
posted @ 2017-10-07 04:47
Weiyu Wang
阅读(129)
评论(0)
推荐(0)

浙公网安备 33010602011771号