Unvisited
Current window
Match confirmed
Hash collision (false positive)

Controls

Time: O(n+m) avg | Space: O(1)

Steps

0 steps

Press Run to trace the algorithm one step at a time.