@@ -0,0 +1,384 @@
+import java.util.*;%0A%0Apublic class FisherYatesShuffle%0A%7B%0A    public void shuffle(int%5B%5D nums)%0A    %7B%0A        if (nums == null %7C%7C nums.length == 0) return;%0A%0A        Random r = new Random();%0A%0A        for (int i = nums.length-1; i %3E= 0; i--)%0A        %7B%0A            int j = r.nextInt(i+1);%0A%0A            int t = nums%5Bj%5D;%0A            nums%5Bj%5D = nums%5Bi%5D;%0A            nums%5Bi%5D = t;%0A        %7D%0A    %7D%0A%7D

Add implementation for Fisher-Yates Shuffle