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