Implement the removing duplicated from linked list for the new online judge.