Softsensor AI Interview Question

Remove duplicate from array without sorting of array.