
C++,算法
FailureXzZ
学生一枚。。。
展开
-
LeetCode刷题笔记二
134. Gas StationThere 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 cost[i] of gas to trave原创 2017-02-15 14:53:19 · 341 阅读 · 0 评论 -
LeetCode刷题笔记一
Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the answer is "原创 2016-12-10 11:44:08 · 1117 阅读 · 0 评论