Mental Model
We want to find how many words start with a certain beginning part (prefix). We check each word to see if it begins with that prefix.
Analogy: Imagine you have a box of books and you want to count how many titles start with the word 'The'. You look at each title and count only those that start with 'The'.
Words: [apple, app, application, banana, bat] Prefix: app Check each word if it starts with 'app'