Move Zeroes — JavaScript easy interview problem
Given an integer array `nums`, move all 0s to the end while maintaining the relative order of non-zero elements. Modify the array in-place and return it.
Tags: two-pointers
Practice this Arrays problem free in the JS Interview Playground with automated tests and unlockable solutions.