Template Function ADS::removeGreater

Function Documentation

template<Stack S>
void ADS::removeGreater(S &s, const typename S::Item &k)

removes the items larger than k, the others in their order

Post:

no item is larger than k (an audit)