AMD Interview Question

Remove all the matching number from a linked list.