Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Conversation

@Shivani-Sharma-23
Copy link

Changes Proposed:

  • Added C++ code for counting the frequency of each element in an array.
  • The code utilizes a hash map to efficiently track the frequency of elements.

Motivation:

  • Introducing a common algorithm used in data structures and algorithms to the DSA repository.
  • This code snippet is useful for understanding hash maps and frequency counting, a fundamental concept in algorithmic problems.

Implementation Details:

  • Created a new C++ source file named Frequency-of-element.cpp.
  • Added a function countFrequency to count the frequency of elements in an array.
  • Created a new Branch "Shivani"

@welcome
Copy link

welcome bot commented Jan 6, 2024

Thanks for opening this pull request! Please check out our contributing guidelines.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant