Concept Flow - Two Pointer Technique on Arrays
Initialize left pointer at start
Initialize right pointer at end
Check condition: left < right?
No→Stop
Yes
Process elements at left and right
Move pointers inward (left++, right--)
↩Back to condition check
Start with two pointers at both ends of the array, move them towards each other while processing elements until they meet or cross.
