Function ADS::repeatedSubstring

Function Documentation

inline std::optional<std::size_t> ADS::repeatedSubstring(const SuffixArray &SA, std::size_t L, std::size_t C)

the place of a substring of length L that occurs at least C times, if any

Pre:

C >= 1