Examveda

What is a significant advantage of the Rabin-Karp algorithm over other string matching algorithms?

A. It is the fastest for short texts.

B. It does not require preprocessing.

C. It allows for efficient multiple pattern matching.

D. It always performs in linear time.

Answer: Option C


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching