Amazon Interview Question

Write a function to merge two linked lists.