• + 0 comments

    Java8

    public static List<Integer> reverseArray(List<Integer> a) {
    // Write your code here
        Collections.reverse(a);
        return a;
    }