Example 1
moveZerosToEnd()Input
nums = [5, 2, 4, 1, 3, 2, 4, 1, 1, 0, 0, 4, 4, 3]Output
[5, 2, 4, 1, 3, 2, 4, 1, 1, 4, 4, 3, 0, 0]Why
`moveZerosToEnd` returns `[5, 2, 4, 1, 3, 2, 4, 1, 1, 4, 4, 3, 0, 0]` for this input.Problem 309 of 1146 in the arena