Examveda

What is the key data structure used in the Knuth-Morris-Pratt (KMP) algorithm for pattern matching?

A. Hash Table

B. Suffix Tree

C. Failure Function

D. Partial Match Table

Answer: Option D


This Question Belongs to Data Structure >> String Matching

Join The Discussion

Related Questions on String Matching