Zendesk interview question

Remove duplicate nodes in an unsorted linked list