kmp-implemented-over-builtin

Status: IN

`strStr` implements KMP (Knuth-Morris-Pratt) manually rather than using Python's built-in `str.find()`, making the O(n + m) algorithmic intent explicit.

Source: entries/2026/06/06/find-the-index-of-the-first-occurrence-in-a-string-solution.md

JSON