[PR #841] [MERGED] feat: Added a program that prints words in alphabetical order using binary tree data structure #1353

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/841
Author: @RandyKdev
Created: 7/14/2021
Status: Merged
Merged: 7/30/2021
Merged by: @ayaankhan98

Base: masterHead: master


📝 Commits (10+)

  • ed56470 frequencies of words started
  • 6724e1e A program to Print words contained in a file in alphabetical order
  • 4306610 Apply suggestions from code review
  • 1dd47b8 appropriate comments added as suggested from code review
  • f1d970c comments cleaned up
  • cfd31fe updating DIRECTORY.md
  • 2dda396 Apply suggestions from code review
  • 3063155 commenting re-worded
  • 6f8487b Add link to algorithm
  • 6027970 Update data_structures/binary_trees/words_alphabetical.c

📊 Changes

2 files changed (+317 additions, -0 deletions)

View changed files

📝 DIRECTORY.md (+1 -0)
data_structures/binary_trees/words_alphabetical.c (+316 -0)

📄 Description

A program that reads words from a file and stores them in a binary tree where one word is a node in the tree with a frequency slot. The program then prints the words in alphabetical order together with their frequencies to a separate file

  • 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: Implementation of sorting words in alphabetical order using Binary Tree Data Structure


🔄 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/841 **Author:** [@RandyKdev](https://github.com/RandyKdev) **Created:** 7/14/2021 **Status:** ✅ Merged **Merged:** 7/30/2021 **Merged by:** [@ayaankhan98](https://github.com/ayaankhan98) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`ed56470`](https://github.com/TheAlgorithms/C/commit/ed56470e08c88d336a32c9570e9e72d56712bcb2) frequencies of words started - [`6724e1e`](https://github.com/TheAlgorithms/C/commit/6724e1eed0d7c5e1070242a747e95ce934e7a545) A program to Print words contained in a file in alphabetical order - [`4306610`](https://github.com/TheAlgorithms/C/commit/4306610d804d9330906d3bc8b72bf75cc83e6db7) Apply suggestions from code review - [`1dd47b8`](https://github.com/TheAlgorithms/C/commit/1dd47b8a7424cf67e815ac7feca3297d15500d9b) appropriate comments added as suggested from code review - [`f1d970c`](https://github.com/TheAlgorithms/C/commit/f1d970cb51d517edb3a345a8b5af35a2e278eda6) comments cleaned up - [`cfd31fe`](https://github.com/TheAlgorithms/C/commit/cfd31fe8484fd38957082389c2af506687fb6d54) updating DIRECTORY.md - [`2dda396`](https://github.com/TheAlgorithms/C/commit/2dda39673024997f5a0395bb8413dcbd4fd431e8) Apply suggestions from code review - [`3063155`](https://github.com/TheAlgorithms/C/commit/3063155b1ac3d6c5e726ee12ba6bb7ed063d1837) commenting re-worded - [`6f8487b`](https://github.com/TheAlgorithms/C/commit/6f8487ba1fd0cd3065940c8e59f6ffadecb7b366) Add link to algorithm - [`6027970`](https://github.com/TheAlgorithms/C/commit/60279700cc3980a00387d8022fb953d44aaa5abf) Update data_structures/binary_trees/words_alphabetical.c ### 📊 Changes **2 files changed** (+317 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `DIRECTORY.md` (+1 -0) ➕ `data_structures/binary_trees/words_alphabetical.c` (+316 -0) </details> ### 📄 Description A program that reads words from a file and stores them in a binary tree where one word is a node in the tree with a frequency slot. The program then prints the words in alphabetical order together with their frequencies to a separate file - [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: Implementation of sorting words in alphabetical order using Binary Tree Data Structure <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/841"><img src="https://gitpod.io/button/open-in-gitpod.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:19:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1353