π Two Pointers β Index
Parent: JS Array Index
| Section | Pattern |
|---|---|
| Pattern 1: Opposite Direction | Sorted array, pair sum |
| Pattern 2: Same Direction | In-place filter |
| Q1. Two Sum (sorted) | Opposite |
| Q2. Three Sum | Fix + Opposite |
| Q3. Remove Duplicates | Same direction |
| Q4. Container With Water | Opposite |
| Q5. Valid Palindrome | Opposite |
| Q6. Trap Rainwater | Opposite + max tracking |
| Q7. Move Zeros | Same direction |
| Q8. Sort by Parity | Opposite |