Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 7, 2025. It is now read-only.

Update heapsort.c#404

Open
yogirajbshinde21 wants to merge 1 commit intoAllAlgorithms:master from
yogirajbshinde21:patch-1
Open

Update heapsort.c #404
yogirajbshinde21 wants to merge 1 commit intoAllAlgorithms:master from
yogirajbshinde21:patch-1

Conversation

@yogirajbshinde21
Copy link

@yogirajbshinde21 yogirajbshinde21 commented May 7, 2023
edited
Loading

  1. Defined a maximum heap size using a constant.

  2. Used a separate function for heapify.

  3. Simplified the main loop.

  4. Removed unnecessary comments.

  5. Used more descriptive variable names.

  6. Used more meaningful output messages.

I am creating a pull request for...

  • New algorithm
  • Update to an algorithm
  • Fix an error
  • Other - Describe below

1. Defined a maximum heap size using a constant.
2. Used a separate function for heapify.
3. Simplified the main loop.
4. Removed unnecessary comments.
5. Used more descriptive variable names.
6. Used more meaningful output messages.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /