📚 Practice Mode

String Matching Algorithms

Learn at your own pace with hints and detailed explanations

1 / 15
Multiple Choice

Which string matching algorithm is best suited for finding all occurrences of a pattern in a text?

  1. Knuth-Morris-Pratt (KMP)
  2. Boyer-Moore
  3. Rabin-Karp
  4. Brute-Force