counter-then-deduplicate-idiom

Status: IN

Frequency-based problems follow a two-step pattern: build a frequency map with `Counter`, then apply a predicate (uniqueness, equality, sorting) over the counts.

Source: entries/2026/06/06/unique-number-of-occurrences-solution.md

Depended on by

JSON