Template Function ADS::setUnion(const SortedListSet<T>&, const SortedListSet<T>&)

Function Documentation

template<class T>
SortedListSet<T> ADS::setUnion(const SortedListSet<T> &A, const SortedListSet<T> &B)

the union, O( n + m ) time (exercise 8.3)