From the description it sounds like this was supposed to be an in place removal of duplicates. If that's the case and given the time complexity, it's a much trickier algorithm.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
From the description it sounds like this was supposed to be an in place removal of duplicates. If that's the case and given the time complexity, it's a much trickier algorithm.