Oracle Interview Question

Write a program to check if one Linked List is reverse of another?