Softsensor AI interview question

Remove duplicate from array without sorting of array.