Microsoft Interview Question

Merge two linked lists and remove the duplicates