Concept Flow - Two Pointer Technique on Arrays
Initialize left pointer at start
Initialize right pointer at end
Check condition: left < right?
No→Stop
Yes
Compare or process elements at left and right
Move left pointer right or right pointer left based on condition
↩Back to condition check
Start with two pointers at opposite ends of the array, move them towards each other based on conditions until they meet or cross.
