Concept Flow - Two Pointer Technique on Arrays
Initialize two pointers: left=0, right=end
Check condition: left < right?
No→Stop
Yes
Compare or process elements at left and right
Move left pointer
Repeat check condition
Start with two pointers at array ends, move them based on conditions until they meet or cross.
