Template Function ADS::anagramGroups(const std::vector<S>&)

Function Documentation

template<class S, class Hash = std::hash<S>>
std::vector<std::vector<S>> ADS::anagramGroups(const std::vector<S> &words)

the classes of anagrams among the words, in the order of their first word, each in the order of the words

Post:

the groups partition the words, each one of anagrams (an audit)