Skip to main content

String Algorithms

Advanced string algorithms and pattern matching techniques for efficient text processing and analysis.

Learning Map

String algorithms organized from pattern matching to advanced string problems.

Prerequisites

What's in scope

  • Pattern Matching: Naive string matching, KMP algorithm, Rabin-Karp, Z-algorithm, and suffix arrays
  • Advanced String Problems: Longest common substring, longest palindromic substring, string compression, edit distance, and string transformation

How to use this section