@@ -0,0 +1,407 @@
+package leetcode;%0A%0A/**%0A * https://leetcode.com/problems/shuffle-the-array/%0A */%0Apublic class Problem1470 %7B%0A    public int%5B%5D shuffle(int%5B%5D nums, int n) %7B%0A        int i = 0;%0A        int j = n;%0A        int%5B%5D answer = new int%5Bnums.length%5D;%0A        int l = 0;%0A        for (int k = 0; k %3C n; k++) %7B%0A            answer%5Bl++%5D = nums%5Bi++%5D;%0A            answer%5Bl++%5D = nums%5Bj++%5D;%0A        %7D%0A        return answer;%0A    %7D%0A%7D%0A

Solve problem 1470