双指针 标签
双指针
共 89 篇内容。
- 11. Container With Most Water 盛最多水的容器
- 15. 3Sum 三数之和
- 16. 3Sum Closest 最接近的三数之和
- 18. 4Sum 四数之和
- 19. Remove Nth Node From End of List 删除链表的倒数第 N 个结点
- 26. Remove Duplicates from Sorted Array 删除有序数组中的重复项
- 27. Remove Element 移除元素
- 28. Implement strStr() 实现 strStr()
- 31. Next Permutation 下一个排列
- 42. Trapping Rain Water 接雨水
- 61. Rotate List 旋转链表
- 75. Sort Colors 颜色分类
- 80. Remove Duplicates from Sorted Array II 删除有序数组中的重复项 II
- 82. Remove Duplicates from Sorted List II 删除排序链表中的重复元素 II
- 86. Partition List 分隔链表
- 88. Merge Sorted Array 合并两个有序数组
- 125. Valid Palindrome 验证回文串
- 141. Linked List Cycle 环形链表
- 142. Linked List Cycle II 环形链表 II
- 143. Reorder List 重排链表
- 148. Sort List 排序链表
- 151. Reverse Words in a String 颠倒字符串中的单词
- 160. Intersection of Two Linked Lists 相交链表
- 165. Compare Version Numbers 比较版本号
- 167. Two Sum II - Input Array Is Sorted 两数之和 II - 输入有序数组
- 170. Two Sum III - Data structure design 两数之和 III - 数据结构设计
- 186. Reverse Words in a String II 翻转字符串里的单词 II
- 189. Rotate Array 轮转数组
- 202. Happy Number 快乐数
- 234. Palindrome Linked List 回文链表
- 244. Shortest Word Distance II 最短单词距离 II
- 246. Strobogrammatic Number 中心对称数
- 253. Meeting Rooms II 会议室 II
- 259. 3Sum Smaller 较小的三数之和
- 277. Find the Celebrity 搜寻名人
- 283. Move Zeroes 移动零
- 287. Find the Duplicate Number 寻找重复数
- 295. Find Median from Data Stream 数据流的中位数
- 344. Reverse String 反转字符串
- 345. Reverse Vowels of a String 反转字符串中的元音字母
- 349. Intersection of Two Arrays 两个数组的交集
- 350. Intersection of Two Arrays II 两个数组的交集 II
- 392. Is Subsequence 判断子序列
- 408. Valid Word Abbreviation 有效单词缩写
- 443. String Compression 压缩字符串
- 457. Circular Array Loop 环形数组是否存在循环
- 475. Heaters 供暖器
- 481. Magical String 神奇字符串
- 522. Longest Uncommon Subsequence II 最长特殊序列 II
- 532. K-diff Pairs in an Array 数组中的 k-diff 数对
- 541. Reverse String II 反转字符串 II
- 556. Next Greater Element III 下一个更大元素 III
- 557. Reverse Words in a String III 反转字符串中的单词 III
- 567. Permutation in String 字符串的排列
- 581. Shortest Unsorted Continuous Subarray 最短无序连续子数组
- 611. Valid Triangle Number 有效三角形的个数
- 633. Sum of Square Numbers 平方数之和
- 653. Two Sum IV - Input is a BST 两数之和 IV - 输入 BST
- 658. Find K Closest Elements 找到 K 个最接近的元素
- 680. Valid Palindrome II 验证回文字符串 Ⅱ
- 696. Count Binary Substrings 计数二进制子串
- 723. Candy Crush 粉碎糖果
- 763. Partition Labels 划分字母区间
- 777. Swap Adjacent in LR String 在LR字符串中交换相邻字符
- 795. Number of Subarrays with Bounded Maximum 区间子数组个数
- 809. Expressive Words 情感丰富的文字
- 821. Shortest Distance to a Character 字符的最短距离
- 825. Friends Of Appropriate Ages 适龄的朋友
- 826. Most Profit Assigning Work 安排工作以达到最大收益
- 832. Flipping an Image 翻转图像
- 838. Push Dominoes 推多米诺
- 844. Backspace String Compare 比较含退格的字符串
- 845. Longest Mountain in Array 数组中的最长山脉
- 876. Middle of the Linked List 链表的中间结点
- 881. Boats to Save People 救生艇
- 905. Sort Array By Parity 按奇偶排序数组
- 917. Reverse Only Letters 仅仅反转字母
- 922. Sort Array By Parity II 按奇偶排序数组 II
- 923. 3Sum With Multiplicity 三数之和的多种可能
- 925. Long Pressed Name 长按键入
- 942. DI String Match 增减字符串匹配
- 948. Bag of Tokens 令牌放置
- 969. Pancake Sorting 煎饼排序
- 977. Squares of a Sorted Array 有序数组的平方
- 986. Interval List Intersections 区间列表的交集
- 1023. Camelcase Matching 驼峰式匹配
- 1099. Two Sum Less Than K 小于 K 的两数之和
- 1471. The k Strongest Values in an Array 数组中的 k 个最强值
- 1768. Merge Strings Alternately 交替合并字符串

评论与交流