Problem 283 · Easy
Maintain a write pointer for non-zero values and swap in-place to move zeroes to the end.
Open the interactive visualisation