Skip to content

Added Heap sort, tests, and documentation. #36

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

Merged
merged 3 commits into from
Oct 6, 2019

Conversation

DatHydroGuy
Copy link
Contributor

This pull request is:

  • A new Algorithm
  • An update to an existing algorithm.
  • An error fix
  • Other (Describe below*)

This pull request fixes:

issue #23

Changes:

Added heap sort algorithm. This is an in-place sort, so the function does not have a return statement. This also explains why the unit test looks a little different to the others. This can be easily modified to return the sorted array, but that removes the advantage of the in-place sort.

Fixed test call for tree sort.
Copy link
Owner

@abranhe abranhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for your contribution. Without people like you submitting pull requests we couldn't run this project.

💪 You rock @DatHydroGuy

Copy link
Owner

@abranhe abranhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for your contribution to The All ▲lgorithms Project. Without people like you submitting Pull Requests we couldn't run this project. You rock @DatHydroGuy

@abranhe abranhe merged commit 78d8a9b into abranhe:master Oct 6, 2019
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.

2 participants