β
Correct Answer: (A)
true
Explanation: the worst case time complexity of rabin karp algorithm is o(m*n) but it has a linear average case time complexity. so rabin karp and naive pattern searching algorithm have the same worst case time complexity.
Explanation by: Mr. Dubey
the worst case time complexity of rabin karp algorithm is o(m*n) but it has a linear average case time complexity. so rabin karp and naive pattern searching algorithm have the same worst case time complexity.
Discussion
Question Analytics
773
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
96%
Success Rate