mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #508] [CLOSED] heapsort implementation started at index 1 #927
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/508
Author: @ericcurtin
Created: 1/8/2020
Status: ❌ Closed
Base:
master← Head:dont-start-at-index-1📝 Commits (1)
f554eefheapsort implementation started at index 1📊 Changes
1 file changed (+29 additions, -27 deletions)
View changed files
📝
sorting/Heap_Sort.c(+29 -27)📄 Description
It is wasteful of the first element of the array, so start at 0.
Add swap implementation.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.