deleteDuplicates ListNodes