Is there a way to return the number of non-unique values in a double-linked
list? If so, then I know of a way to remove only one of them. For example,
if there is a list containing the values: 1 4 4 4 5 6 ... the number of 4's
would be returned, in this case 3.
list? If so, then I know of a way to remove only one of them. For example,
if there is a list containing the values: 1 4 4 4 5 6 ... the number of 4's
would be returned, in this case 3.