Pergunta de entrevista da empresa Oracle

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