Amazon interview question

Clone a singly linked list using two pointers.