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

Heap Sort in C #377

Open
yorgokennos opened this issue Oct 3, 2024 · 1 comment
Open

Heap Sort in C #377

yorgokennos opened this issue Oct 3, 2024 · 1 comment

Comments

@yorgokennos
Copy link

Glancing at the list of sorting algorithms and it looks like the implementation of Heap sort is missing. Time complexity of O (n log n).

  1. Treat Array as Complete Binary Tree
  2. Build a Max Heap
  3. Sort array by placing largest at end

image

Please assign me this issue with hacktoberfest label <3

@VedantDeore VedantDeore mentioned this issue Oct 6, 2024
11 tasks
@VedantDeore
Copy link

I added the Heap Sort in C
@Kavya-24 Please assign this to me under Hacktoberfest 2024. Thank you!

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

No branches or pull requests

2 participants