Skip to content

Latest commit

ย 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 

Repository files navigation

Frequency Counter in C++

๐Ÿ“Œ Overview

This project demonstrates two approaches to counting the frequency of integers in an array using C++:

  1. Fixed-size array hashing (efficient for small, bounded ranges).
  2. unordered_map hashing (flexible for large or unbounded ranges).

It also supports answering queries about how many times a given number appears in the input.


โš™๏ธ Requirements

  • C++11 or later
  • Standard Template Library (STL)

Compile with:

g++ -std=c++11 frequency_counter.cpp -o frequency_counter

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages