Amazon Interview Question

i think one question is Remove Duplicates from Sorted Array on the leetcode