Busy Infotech interview question

Write a program to reverse a linked list.