Mental Model
Find if a smaller word appears inside a bigger word by checking each position one by one.
Analogy: Like looking for a small sticker hidden inside a big book page by flipping through each spot carefully.
Text: H E L L O W O R L D
Pattern: W O R
Positions: 0 1 2 3 4 5 6 7 8 9 10
↑