Given an array of integers nums, return a new array with every 0 pushed to the end while the relative order of the non-zero values stays the same.
Move Zeros to the End (Set 1) — the data. This set runs 4 cases: nums holds arrays of 2–9 items, with values from 0 to 5. The hidden cases are the largest of the set.