Template Function ADS::removeDuplicates

Function Documentation

template<Sequence S>
void ADS::removeDuplicates(S &s)

keeps the first copy of each item, in O( n^2 ) comparisons

Post:

no item appears twice (an audit)