![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
twoPointer
文章平均质量分 79
huhuixinxing
这个作者很懒,什么都没留下…
展开
-
LeetCode 86. Partition List
LeetCode 86. Partition List原创 2017-11-14 14:47:53 · 172 阅读 · 0 评论 -
LeetCode 61. Rotate List
LeetCode 61. Rotate List原创 2017-11-14 14:46:28 · 140 阅读 · 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 · 260 阅读 · 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 · 320 阅读 · 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 · 130 阅读 · 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 · 148 阅读 · 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 · 137 阅读 · 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 · 172 阅读 · 0 评论