• + 0 comments

    for (int i = n - 1; i >= 0; i--) { System.out.print(arr.get(i)); if (i != 0) { System.out.print(" "); }