[PR #1497] [CLOSED] Added Binary Heap Algorithm (Min Heap) in C #2095

Open
opened 2026-01-29 15:28:39 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1497
Author: @Dibbu-cell
Created: 10/4/2025
Status: Closed

Base: masterHead: change1


📝 Commits (1)

📊 Changes

1 file changed (+267 additions, -0 deletions)

View changed files

data_structures/binary_trees/min_binary_heap.c (+267 -0)

📄 Description

Description of Change

Added a Min Binary Heap implementation in C under the binary_trees folder.

  • Supports insert, extract min, search, and display.
  • Includes self-tests as per guidelines.
  • Follows Doxygen documentation and naming conventions.

Fixes #1496

Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md

References

https://en.wikipedia.org/wiki/Binary_heap

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes: I have added Binary Heap Algorithm (Min Heap) .


🔄 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/1497 **Author:** [@Dibbu-cell](https://github.com/Dibbu-cell) **Created:** 10/4/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `change1` --- ### 📝 Commits (1) - [`8f41f0d`](https://github.com/TheAlgorithms/C/commit/8f41f0d9e06caf5f4ef5c30370426b475614cbc8) min_binary_heap ### 📊 Changes **1 file changed** (+267 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `data_structures/binary_trees/min_binary_heap.c` (+267 -0) </details> ### 📄 Description #### Description of Change Added a Min Binary Heap implementation in C under the binary_trees folder. - Supports insert, extract min, search, and display. - Includes self-tests as per guidelines. - Follows Doxygen documentation and naming conventions. Fixes #1496 Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md #### References https://en.wikipedia.org/wiki/Binary_heap #### Checklist - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [x] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: I have added Binary Heap Algorithm (Min Heap) . --- <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:28:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2095