Блог пользователя renovated2020

Автор renovated2020, 12 лет назад, По-английски

What is the most efficient algorithm or approach for finding most frequent k-length sub-string from a given string?

  • Проголосовать: нравится
  • -4
  • Проголосовать: не нравится

»
12 лет назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

Hash all substrings of length K in O(N) and store this values in map O(NlogN)