Nokia Interview Question

Leetcode Easy questions : remove duplicate element. Different approach, complexity