Solve "Remove Duplicates from Sorted Array"