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

Heapsort program doesn't seem to work when you pass in an already sorted list #502

Closed
ericcurtin opened this issue Dec 16, 2019 · 2 comments

Comments

@ericcurtin
Copy link
Contributor

Enter the size of the array you want
5
Enter numbers separated by a comma:
1,2,3,4,5
[1, 2, 5, 3, 4]

@ericcurtin
Copy link
Contributor Author

This fixes the issue:

https://github.com/TheAlgorithms/C/pull/507/files

@danghai
Copy link
Contributor

danghai commented Jan 4, 2020

You can specify the issue number in commit message. It automatically is closed when it is merged.
The reference link: https://help.github.com/en/github/managing-your-work-on-github/closing-issues-using-keywords

@danghai danghai closed this as completed Jan 4, 2020
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