frequency counting
RU: подсчёт частоты
The pattern of counting how many times each value appears in a dataset using a hash map. One O(n) pass builds a complete frequency tally, enabling O(n) solutions to anagram checking, duplicate detection, and finding the most common element.