String Algorithms

Visualize pattern matching algorithms character by character

Enter text & pattern, then click Visualize

Input

Step 0of 0
Speed×5
SlowFast

Complexity

TimeO(nm)