-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
refactor heapsort to support generic #553
refactor heapsort to support generic #553
Conversation
You've broken another implementation. Please fix that. |
Thank you for the suggestion. I brought back the heap code. |
Then this PR is not solving the Issue that it claims to solve. If you added the old implementation back, you also need to add the old tests back. Making this a separate implementation of HeapSort with little benefit. |
I refactored it to shared the implementation of Hopefully, this will make the heap more generic |
This PR is related to #419
Details: