摘要: 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... 阅读全文
posted @ 2015-06-02 10:44 TonyLuis 阅读(237) 评论(0) 推荐(0) 编辑
摘要: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are labeled u... 阅读全文
posted @ 2015-06-02 10:41 TonyLuis 阅读(607) 评论(0) 推荐(0) 编辑