Oracle interview question

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