hone
.sh
Browse topics
Learn
Software
Algorithms
Two Pointers
Two Pointers
Walk inward or alongside with two indexes to avoid comparing every pair.
01
Check a Palindrome
easy
→
02
Pair Sum in a Sorted List
easy
Pro
→
03
Remove Duplicates in Place
easy
Pro
→
04
Move Zeros to the End
easy
Pro
→
05
Container with Most Water
medium
Pro
→
06
Sort Three Colours
medium
Pro
→
07
Three Numbers Summing to Zero
hard
Pro
→
08
Trap the Rainwater
hard
Pro
→