algorithmSort by:Popular▼
Sort by:Popular▼
112.Algorithm KMP
io.github.zhitron » algorithm-kmp Apache
Java implementation of the Knuth-Morris-Pratt (KMP) algorithm for efficient pattern matching in sequences.
Achieves O(n+m) time complexity through prefix-function computation, avoiding unnecessary character comparisons.
Last Release on Aug 31, 2025
