IBM Interview Question

given a linked list remove duplicates