Code Board Tech Interview Question

sorting an array , remove duplicate character