Amazon interview question

Write a program that merges two Linked Lists