Remove duplicates in place (Leetcode 26)

Data Structures and Algorithms Easy Seen in real interview