Remove unique in linked list w/ space and w/o extra space