twoPointer
文章平均质量分 79
huhuixinxing
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
LeetCode 86. Partition List
LeetCode 86. Partition List原创 2017-11-14 14:47:53 · 207 阅读 · 0 评论 -
LeetCode 61. Rotate List
LeetCode 61. Rotate List原创 2017-11-14 14:46:28 · 187 阅读 · 0 评论 -
LeetCode 19.Remove Nth Node From End of List
LeetCode 19.Remove Nth Node From End of List原创 2017-11-14 14:43:51 · 330 阅读 · 0 评论 -
LeetCode 141. Linked List Cycle && 142. Linked List Cycle II
LeetCode 141. Linked List Cycle && 142. Linked List Cycle II原创 2017-11-14 14:40:29 · 387 阅读 · 0 评论 -
LeetCode 11. Container With Most Water
Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lin原创 2017-12-02 17:22:53 · 170 阅读 · 0 评论 -
LeetCode 26. Remove Duplicates from Sorted Array && 80. Remove Duplicates from Sorted Array II
LeetCode 26. Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for an原创 2017-12-02 17:32:30 · 201 阅读 · 0 评论 -
LeetCode 27. Remove Element
Given an array and a value, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-plac原创 2017-12-02 17:33:28 · 233 阅读 · 0 评论 -
LeetCode 31. Next Permutation
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as the lowest possible orde原创 2017-12-02 17:34:07 · 212 阅读 · 0 评论
分享