Skip to content

Update 0347-top-k-frequent-elements.cs #2661

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ankit-bhanwaria17
Copy link

@ankit-bhanwaria17 ankit-bhanwaria17 commented Jun 29, 2023

Current implementation uses maxheap to get klogn TC
I have added implementation where we are using bucket sort algo as discussed in the YouTube video

Important

Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

@ankit-bhanwaria17 ankit-bhanwaria17 changed the title csharp solution for top k freq elements Update 0347-top-k-frequent-elements.cs Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant