Microsoft interview question

Merge two linked lists and remove the duplicates