@@ -0,0 +1,752 @@
+/**%0A *Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.%0A *%0A *For example, given nums = %5B0, 1, 0, 3, 12%5D, after calling your function, nums should be %5B1, 3, 12, 0, 0%5D.%0A *%0A *Note:%0A *You must do this in-place without making a copy of the array.%0A *Minimize the total number of operations.%0A */%0Aclass Solution %7B%0A    public void moveZeroes(int%5B%5D nums) %7B%0A        int j = 0;%0A        int size = nums.length;%0A        for (int i = 0; i %3C size; i++) %7B%0A            if (nums%5Bi%5D != 0) %7B%0A              nums%5Bj%5D = nums%5Bi%5D;%0A                j++;%0A              continue;  %0A            %7D%0A        %7D%0A        %0A        for (int i = j; j %3C size; j++) %7B%0A            nums%5Bj%5D = 0;%0A        %7D%0A    %7D%0A%7D%0A

Create MoveZeroes.java