Qualcomm interview question

Merge two linked lists in place.