[PR #508] [CLOSED] heapsort implementation started at index 1 #927

Closed
opened 2026-01-29 15:16:18 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/508
Author: @ericcurtin
Created: 1/8/2020
Status: Closed

Base: masterHead: dont-start-at-index-1


📝 Commits (1)

  • f554eef heapsort 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.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/508 **Author:** [@ericcurtin](https://github.com/ericcurtin) **Created:** 1/8/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dont-start-at-index-1` --- ### 📝 Commits (1) - [`f554eef`](https://github.com/TheAlgorithms/C/commit/f554eefab8233290f2a46f40b5b5b3fc2eaccfa5) heapsort implementation started at index 1 ### 📊 Changes **1 file changed** (+29 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `sorting/Heap_Sort.c` (+29 -27) </details> ### 📄 Description It is wasteful of the first element of the array, so start at 0. Add swap implementation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:16:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#927