DSA sheet · Topic
Two Pointers interview problems
Two indexes moving through an array or string, usually from both ends, to replace a nested loop with a single pass.
- 6 problems
- Java + Python
- Free, no sign-up
02 Two Pointers Two indexes moving through an array or string, usually from both ends, to replace a nested loop with a single pass. 0 / 6
- 16 Valid Palindrome Easy Has notes Practice Valid Palindrome on LeetCode (opens in a new tab)
- 17 Remove Duplicates from Sorted Array Easy Has notes Practice Remove Duplicates from Sorted Array on LeetCode (opens in a new tab)
- 18 Two Sum II – Input Array Is Sorted Medium Has notes Practice Two Sum II – Input Array Is Sorted on LeetCode (opens in a new tab)
- 19 3Sum Medium Has notes Practice 3Sum on LeetCode (opens in a new tab)
- 20 Container With Most Water Medium Has notes Practice Container With Most Water on LeetCode (opens in a new tab)
- 21 Trapping Rain Water Hard Has notes Practice Trapping Rain Water on LeetCode (opens in a new tab)
No problems match these filters.