Busy Infotech Interview Question

Write a program to reverse a linked list.