I don't like this problem.

  • 0

    It restricts using extra space but it use two array and itself, and the tricky to solve this it's just using the index of the array it gives to mark every number the array appears.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.