Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count frequency of each element in the array #99

Open
SiddhiShivale opened this issue Oct 30, 2024 · 1 comment
Open

Count frequency of each element in the array #99

SiddhiShivale opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
hacktoberfest-accepted Accepted Hacktober help wanted Extra attention is needed Open Issue - Need Fix Open issue that need to be fixed

Comments

@SiddhiShivale
Copy link
Contributor

Problem Explanation: -

Example 1:
Input: arr[] = {10,5,10,15,10,5};
Output: 10 3
5 2
15 1
Explanation: 10 occurs 3 times in the array
5 occurs 2 times in the array
15 occurs 1 time in the array

Example2:
Input: arr[] = {2,2,3,4,4,2};
Output: 2 3
3 1
4 2
Explanation: 2 occurs 3 times in the array
3 occurs 1 time in the array
4 occurs 2 time in the array

Hey @SilvaneUX I want to make more contributions. If you find this DSA problem useful please add a tag to it and assign me the same. I will be solving this problem in java.

@SilvaneUX SilvaneUX added help wanted Extra attention is needed hacktoberfest-accepted Accepted Hacktober Open Issue - Need Fix Open issue that need to be fixed labels Oct 30, 2024
@SilvaneUX
Copy link
Owner

That's great, please make a pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Accepted Hacktober help wanted Extra attention is needed Open Issue - Need Fix Open issue that need to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants