@@ -0,0 +1,620 @@
+/**%0A * Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order %0A * of the non-zero elements.%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 %0Apublic class Solution %7B%0A    public void moveZeroes(int%5B%5D nums) %7B%0A        if(nums == null %7C%7C nums.length %3C 1)%0A            return;%0A        int p1 = 0, p2 = 0;%0A        while(p1 %3C nums.length) %7B%0A            if(nums%5Bp1++%5D != 0)%0A                nums%5Bp2++%5D = nums%5Bp1 - 1%5D;%0A        %7D%0A        while(p2 %3C nums.length)%0A            nums%5Bp2++%5D = 0;%0A        return;%0A    %7D%0A%7D%0A

Create 283.java