Concept Flow - Remove Duplicates from Sorted Array Two Pointer
Start with two pointers
Pointer1 at index 0
Pointer2 at index 1
Compare values at Pointer1 and Pointer2
Move Pointer2 forward
Repeat until Pointer2 reaches end
Return length = Pointer1 + 1
Use two pointers to scan the array. Pointer1 tracks unique elements, Pointer2 scans ahead. When new unique found, copy it forward.
