Posha interview question

How to reverse a LinkedList in Java, if user-defined?