public static ArrayList doArrayListRemoveFromEnd(int numItems) { System.out.print(\"doArrayListRemoveFromEnd: \"); ArrayList list = new ArrayList<>(); // TODO Write code that adds integers 0 through (numitems - 1) // to list, inside a loop. long startTime = getTimestamp(); // TODO Write code that removes the last element from list, // repeatedly until the list is empty. long endTime = getTimestamp(); long totalTime = endTime - startTime; System.out.println(totalTime); return list; } Solution Code that appends integers 0 through (numitems - 1) to the list. I have added a loop for adding values to the list for(int i=0; i doArrayListAdd(int numItems) { System.out.print(\"doArrayListAdd: \"); ArrayList list = new ArrayList<>(); long startTime = getTimestamp(); for(int i=0; i.