Concept Flow - Two Pointer Technique on Arrays
Initialize left pointer at start
Initialize right pointer at end
Check condition on elements at left and right
If condition met
→Move left pointer right
Else
→Move right pointer left
Repeat until left >= right
Done
Start with two pointers at opposite ends of the array, move them towards each other based on a condition until they meet or cross.
