Amazon Interview Question

if a linked list is a loop, kth nearest points, sort two sorted linked list into one