Amazon Interview Question

How to determine whether two linked lists intersect