Pergunta de entrevista da empresa JLR

Linked List cycle and intersection of two linked lists