Adobe interview question

Merge two lists and reverse the linked list