Software Engineering KB

Home

❯

01 Foundations

❯

01 Algorithms

❯

02 Sub Concept

❯

Rabin Karp

Rabin-Karp

Feb 10, 20261 min read

  • algorithms
  • string-algorithms
  • rabin-karp
  • pattern-matching

Rabin-Karp

← Back to Pattern Matching

A string matching algorithm that uses hashing to find pattern matches. Computes a rolling hash of text windows and compares with the pattern’s hash. O(n + m) expected time, O(nm) worst case. Efficient for multiple pattern matching.

algorithms string-algorithms rabin-karp pattern-matching


Graph View

Backlinks

  • Pattern Matching

Created with Quartz v4.5.2 © 2026

  • GitHub