跳转到内容

双指针 标签

← 所有标签

双指针

89 篇内容。

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

评论与交流