Amazon Interview Question

Some questions on removing duplicates from a linked list, generally doable