Oracle Interview Question

write code to find if two linked lists have a common node.