JustDial interview question

Write a code regarding intersection of two linked lists