FactSet Interview Question

Given an arraylist, reverse the first n elements and print the entire arraylist.