Computer scienceAlgorithms and Data StructuresAlgorithmsString algorithmsSubstring search algorithms

Rabin-Karp algorithm

Time complexity

Report a typo

Assume that occocc is the number of times a pattern pp occurs in a text tt. What is the running time of the Rabin-Karp algorithm in this case?

Select one or more options from the list
___

Create a free account to access the full topic