leetcode
李连毛
这个作者很懒,什么都没留下…
展开
-
[leetcode3] Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters最长不重复子串题目描述 Given a string, find the length of the longest substring without repeating characters. Examples: Given “abcabcbb”, the answer is转载 2016-09-18 21:41:20 · 320 阅读 · 0 评论 -
[leetcode26] Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array从有序数组中取出重复数字题目描述 Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra转载 2016-09-25 21:06:42 · 286 阅读 · 0 评论 -
[leetcode33] Search in Rotated Sorted Array
Search in Rotated Sorted Array在已经旋转的数组中搜索指定数字题目描述 Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given转载 2016-09-27 21:11:13 · 306 阅读 · 0 评论