[PR #775] [CLOSED] feat: Add huffman encode #1292

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/775
Author: @dlemrry
Created: 12/5/2020
Status: Closed

Base: masterHead: master


📝 Commits (5)

📊 Changes

4 files changed (+325 additions, -0 deletions)

View changed files

📝 CMakeLists.txt (+1 -0)
📝 DIRECTORY.md (+3 -0)
compression/CMakeLists.txt (+24 -0)
compression/huffman_encode.c (+297 -0)

📄 Description

Description of Change

This algorithm encode given words with huffman algorithm. Using linked list and binary tree.
Upper case and lower case of user input will be distinguished

References

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:


🔄 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/775 **Author:** [@dlemrry](https://github.com/dlemrry) **Created:** 12/5/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`61b0ff2`](https://github.com/TheAlgorithms/C/commit/61b0ff2df772282822cdad857bc686317f31a0c1) feat: Add huffman encode - [`702a543`](https://github.com/TheAlgorithms/C/commit/702a543e8cdf11c4ad1a2207de9ea1f40d6c7ebb) updating DIRECTORY.md - [`ce39fe7`](https://github.com/TheAlgorithms/C/commit/ce39fe747e208796d03e70921304c1637ee0b9b3) Update huffman_encode.c - [`b48d252`](https://github.com/TheAlgorithms/C/commit/b48d25234262c70eda8250aeedd67ef2e73d97f2) cmakelist update - [`e243166`](https://github.com/TheAlgorithms/C/commit/e243166d8e04dfb37014716d202727cc1f98ed4f) Update huffman_encode.c ### 📊 Changes **4 files changed** (+325 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+1 -0) 📝 `DIRECTORY.md` (+3 -0) ➕ `compression/CMakeLists.txt` (+24 -0) ➕ `compression/huffman_encode.c` (+297 -0) </details> ### 📄 Description #### Description of Change This algorithm encode given words with huffman algorithm. Using linked list and binary tree. Upper case and lower case of user input will be distinguished <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [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) - [ ] 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: <!-- Please add a one-line description for developers or pull request viewers --> <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/775"><img src="https://gitpod.io/api/apps/github/pbs/github.com/dlemrry/C.git/e243166d8e04dfb37014716d202727cc1f98ed4f.svg" /></a> --- <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:18:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1292