@@ -0,0 +1,754 @@
+//https://www.hackerrank.com/challenges/arrays-ds%0Aimport java.io.*;%0Aimport java.util.*;%0A%0Apublic class Solution %7B%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        %0A        //Get input%0A        final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));%0A        final short N = Short.parseShort(br.readLine());%0A        final short%5B%5D A = toShortArray(br.readLine().split(%22 %22), N);%0A        %0A        //Print output%0A        for(int i = N; i %3E 0; System.out.print(A%5B--i%5D + %22 %22))%7B%7D%0A    %7D%0A    %0A    private static short%5B%5D toShortArray(final String%5B%5D A, final int N)%7B%0A        final short%5B%5D B = new short%5BN%5D;%0A        for(int i = 0; i %3C N; ++i)%7B%0A            B%5Bi%5D = Short.parseShort(A%5Bi%5D);%0A        %7D%0A        return B;%0A    %7D%0A%7D%0A

Create arrays-ds.java