Amazon Flex interview question

How to merge two linked lists