Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2016-10-07 15:43:12
阅读次数:
149
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2016-10-05 17:30:33
阅读次数:
114
问题描述: Given a string, find the length of the longest substring without repeating characters. 样例: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2016-10-05 17:30:25
阅读次数:
99
题目描述 Farmer John has N cows that need to be milked (1 <= N <= 10,000), each of which takes only one unit of time to milk. Being impatient animals, som ...
分类:
其他好文 时间:
2016-10-03 23:29:55
阅读次数:
310
3.LongestSubstringWithoutRepeatingCharactersGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.Examples:Given"abcabcbb",theansweris"abc",whichthelengthis3.Given"bbbbb",theansweris"b",withthelengthof1.Given"pwwkew",theansweris"wke",wit..
分类:
其他好文 时间:
2016-10-02 07:07:09
阅读次数:
120
Machine Schedule Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14479 Accepted: 6172 Description As we all know, machine scheduling is a v ...
分类:
系统相关 时间:
2016-09-28 16:20:56
阅读次数:
251
本问题是求最长不重复子串。 给出一种方法: 例如:aplsdfgsjiuk,设置一个最长子串的起始位和结束位,a为起始位,b为结束位,当遍历aplsdfg时,下一位s重复,所以可以从d为起始位置在遍历。 时间复杂度为O(n)。 ...
分类:
其他好文 时间:
2016-09-27 11:29:14
阅读次数:
95
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2016-09-24 23:20:25
阅读次数:
137
Description As we all know, machine scheduling is a very classical problem in computer science and has been studied for a very long history. Schedulin ...
分类:
系统相关 时间:
2016-09-23 15:06:18
阅读次数:
234