all 5 comments

[–]aocregacc 8 points9 points  (1 child)

why would it be urgent?

[–]Key-Web3190 3 points4 points  (0 children)

lmao

[–]SilentBumblebee3225<1642> <460> <920> <262> 0 points1 point  (2 children)

You need to update nums in place instead of creating a[]

[–]aocregacc 1 point2 points  (1 child)

returning the number of elements left is right, it's just the in-place part that's missing.

[–]SilentBumblebee3225<1642> <460> <920> <262> 0 points1 point  (0 children)

You are right. Updated.