@@ -0,0 +1,726 @@
+package com.codewriters.fdiba.array;%0A%0A/**%0A * Shift a given array of integers by K elements.%0A * %3Cp%3E%0A * Example: input = %7B1, 2, 3, 4, 5, 6%7D, K = 2, result = %7B5, 6, 1, 2, 3, 4%7D.%0A * %0A * @author Aleksandar Savev %3Csavevjr@gmail.com%3E%0A * @since 25-Jan-16%0A */%0Apublic class ShiftArray%0A%7B%0A    public static void main(String%5B%5D args)%0A    %7B%0A        int%5B%5D inputSet = new int%5B%5D%7B1, 2, 3, 4, 5, 6%7D;%0A        int%5B%5D outputSet = new int%5BinputSet.length%5D;%0A        int shiftBy = 2;%0A        for (int i = 0; i %3C inputSet.length; i++)%0A        %7B%0A            outputSet%5B(i + shiftBy) %25 inputSet.length%5D = inputSet%5Bi%5D;%0A        %7D%0A%0A        for (int i = 0; i %3C inputSet.length; i++)%0A        %7B%0A            System.out.print(outputSet%5Bi%5D + %22 %22);%0A        %7D%0A    %7D%0A%7D%0A

Add ShiftArray task