Function ADS::longestCommonSubstring(const std::vector<std::string>&, std::size_t)
Defined in File SuffixApplications.h
Function Documentation
-
inline std::string ADS::longestCommonSubstring(const std::vector<std::string> &S, std::size_t k)
a longest substring common to at least k of the strings S
- Pre:
1 <= k <= S.size()
- Post:
a substring of at least k of the strings (an audit)