Remove Duplicates from Sorted Array — Step-by-Step Visualization
easyLeetCode #26ArrayTwo Pointers
Given an integer array nums sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. Return k, the number of unique elements.