reverse element in list
ArrayList<ArrayList<Integer>> result = new ArrayList<>(); Collections.reverse(result);