Topic
Two Pointers problems
57 problems: 22 Easy, 32 Medium, 3 Hard.
Easy (22)
- Merge Two Sorted Arrays
- Move Zeroes
- Reverse String
- Valid Palindrome
- Merge Two Sorted Lists
- Remove Duplicates from Sorted Array
- Remove Element
- Is Subsequence
- Valid Palindrome II
- Reverse Words in a String III
- Valid Mountain Array
- Squares of a Sorted Array
- Reverse Words in String III
- Intersection of Two Arrays II
- Assign Cookies
- Flipping an Image
- Reverse Vowels of a String
- Count Binary Substrings
- Squares of Sorted Array
- Merge Strings Alternately
- Two Sum Less Than K
- Move Zeros to End
Medium (32)
- 3Sum
- Container With Most Water
- Sort Colors
- 4Sum
- Next Permutation
- Meeting Rooms II
- Find K Closest Elements
- Two Sum II - Input Array Is Sorted
- 3Sum Closest
- Partition Labels
- Reverse Words in a String
- String Compression
- Find the Duplicate Number
- Zigzag Iterator
- Push Dominoes
- Boats to Save People
- Max Consecutive Ones III
- Maximize Win From Two Segments
- Get Equal Substrings Within Budget
- Max Number of K-Sum Pairs
- Longest Word in Dictionary through Deleting
- Next Greater Element III
- Palindromic Substrings
- Bag of Tokens
- Shortest Unsorted Continuous Subarray
- Reverse Words in a String II
- Find the Celebrity
- Valid Triangle Number
- Count Pairs in Two Arrays
- Meeting Scheduler
- Ways to Split Array Into Three Subarrays
- Remove Duplicates from Sorted Array II