Advice for the description


  • 0
    J

    Original: You may assume the returned list does not count as extra space.

    What if I use the list filled with all n elements and remove appeared one by one.

    You may assume the returned list does not count as extra space. And you can only invoke the add method of the list.

    may be better.


Log in to reply
 

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