Solve the 'Remove Duplicates from Sorted List II' question