Remove duplicates in place from an unsorted array

0
Remix

Remove repeated values from an unsorted array in place, keeping the first occurrence of each and their order, and return the new length. Compare a hash set with sorting first, and state the space each uses. Only the title of this report was public.

MicrosoftCodingLast asked Feb 2026
No answer yet. Write the first one; the best answer gets endorsed.