Cognizant Interview Question

Reverse a Linked List. Some outputs questions (java).