Move Zeroes — October 29, 2026
Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the nonzero elements. You must do this inplace without making a copy of the array and aim to minimize the total number of operations (assignments). Constraints: 1 <= nums.length <= 10^4 2^31 <= nums[i]
