Mental Model
We want to find if a small word or pattern appears inside a bigger text by checking each part carefully.
Analogy: Like looking for a small sticker on a big poster by sliding your eyes over every part until you find a match.
Text: H -> E -> L -> L -> O -> -> W -> O -> R -> L -> D -> null Pattern: L -> L -> O -> null ā (start of text) ā (start of pattern)