Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 750 Bytes

Ep1-Freq-Table.md

File metadata and controls

18 lines (10 loc) · 750 Bytes

Part 3 Episode 1/3: Frequency Tables

Frequency tables are generally used to keep track of how many times a certain element occurs within a set of elements.

Frequency Table Tutorial

Note that sometimes, the array elements are too large and you can't always use a vector to maintain the count. In such cases, you can use a map or unordered_map to achieve the same result.


Here are some links to practice Frequency Table problems:

  1. Codeforces 4 C

  2. Codeforces 525 A

  3. Codeforces 1520 D