AC Remove Duplicates from Sorted Array