Oracle Interview Question

Write a program to reverse a Linked list?