LeetCode双指针 two_pointers(共47题)

Posted zhangwanying

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了LeetCode双指针 two_pointers(共47题)相关的知识,希望对你有一定的参考价值。

【3】Longest Substring Without Repeating Characters 

【11】Container With Most Water 

【15】3Sum 

【16】3Sum Closest 

【18】4Sum 

【19】Remove Nth Node From End of List 

【26】Remove Duplicates from Sorted Array 

【27】Remove Element 

【28】Implement strStr() 

【30】Substring with Concatenation of All Words 

【42】Trapping Rain Water 

【61】Rotate List 

【75】Sort Colors 

【76】Minimum Window Substring 

【80】Remove Duplicates from Sorted Array II 

【86】Partition List 

【88】Merge Sorted Array 

【125】Valid Palindrome 

【141】Linked List Cycle 

【142】Linked List Cycle II 

【159】Longest Substring with At Most Two Distinct Characters 

【167】Two Sum II - Input array is sorted 

【209】Minimum Size Subarray Sum 

【234】Palindrome Linked List 

【259】3Sum Smaller 

【283】Move Zeroes 

【287】Find the Duplicate Number 

【344】Reverse String 

【345】Reverse Vowels of a String 

【349】Intersection of Two Arrays 

【350】Intersection of Two Arrays II 

【360】Sort Transformed Array 

【487】Max Consecutive Ones II 

【524】Longest Word in Dictionary through Deleting 

【532】K-diff Pairs in an Array 

【567】Permutation in String 

【632】Smallest Range 

【713】Subarray Product Less Than K 

【723】Candy Crush 

【763】Partition Labels 

【826】Most Profit Assigning Work 

【828】Unique Letter String 

【838】Push Dominoes 

【844】Backspace String Compare 

【845】Longest Mountain in Array 

【881】Boats to Save People 

 

以上是关于LeetCode双指针 two_pointers(共47题)的主要内容,如果未能解决你的问题,请参考以下文章

LeetCode双指针 two_pointers(共47题)

leetcode 做过的题目总结

leetcode双指针专题

LeetCode双指针题总结(持续更新)

LeetCode的双指针解法合集(python)

LeetCode的双指针解法合集(python)