Microsoft Interview Question

Remove Duplicates from an integer array (unsorted)

Interview Answer

Anonymous

Dec 22, 2018

I sorted the array and then used the 2-pointer approach to truncate it.