Mental Model
Find if a small word or pattern appears inside a bigger text by checking each part step by step.
Analogy: Like looking for a small sticker on a long ribbon by sliding your eyes along the ribbon until you find the sticker.
Text: H -> E -> L -> L -> O -> -> W -> O -> R -> L -> D -> null Pattern: L -> L -> O -> null ā (start of text) ā (start of pattern)
