Mental Model
We want to find how many words start with a certain beginning part (prefix). We look through each word and check if it starts with that prefix.
Analogy: Imagine you have a box of books and you want to count how many book titles start with the word 'The'. You open each book and look at the title's start to count.
Words: [apple, app, ape, bat, ball] Prefix: 'ap' Goal: Count words starting with 'ap' List: [apple] -> [app] -> [ape] -> [bat] -> [ball] -> null Prefix: ↑ 'ap'
