摘要: 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 @ 2019-05-26 11:43 GoodRnne 阅读(361) 评论(0) 推荐(0)
摘要: Given a non-empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runti 阅读全文
posted @ 2019-05-26 11:18 GoodRnne 阅读(190) 评论(0) 推荐(0)