Template Function ADS::optimalSearchTree(const std::vector<T>&)

Function Documentation

template<class T>
OptimalSearchTree<T> ADS::optimalSearchTree(const std::vector<T> &p)

the same with the gaps of weight 0

Pre:

p not negative