Introduction
We search and count elements to find if something is there and how many times it appears. This helps us understand and work with data easily.
Checking if a friend's name is in your contact list.
Counting how many times a word appears in a story.
Finding if a product is available in a shopping list.
Counting how many times a number appears in a list of scores.