Algo Playground
Algo Playground
Home
Algorithms
Index
Strings
Knuth–Morris–Pratt algorithm
Array
Fisher–Yates shuffle
Dynamic Programming
Longest common subsequence
Misc
Brainfuck interpreter
Gallery
About
Knuth–Morris–Pratt algorithm
Wikipedia
Implementation
Pattern
Text
Compute LPS Table
Match Text
NEXT >
delay (ms):
AUTO PLAY
SKIP >>|
READY
pattern[0]
lps[0]
pattern[0]