✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Following the discussion from our lectures, what is the worst-case running time of the Rabin-Karp algorithm (for the text of size n and the pattern of size m, where m < n)?