[PR #1445] [CLOSED] Added new sorting algorithm, middle sort #2039

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1445
Author: @dja322
Created: 11/5/2024
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • 298a4b4 Added new sorting algorithm, middle sort

📊 Changes

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

View changed files

sorting/middle_sort.c (+220 -0)

📄 Description

Description of Change

Add a new algorithm called middle sort, which starts in the middle of an array and sorts it from the center element(s) outwards until the edges of the array are reached, at which point the array is sorted.

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: Add a new sorting algorithm called middle sort


🔄 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/1445 **Author:** [@dja322](https://github.com/dja322) **Created:** 11/5/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`298a4b4`](https://github.com/TheAlgorithms/C/commit/298a4b43f86fed758876ad35307e4d06a39f14ff) Added new sorting algorithm, middle sort ### 📊 Changes **1 file changed** (+220 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `sorting/middle_sort.c` (+220 -0) </details> ### 📄 Description #### Description of Change Add a new algorithm called middle sort, which starts in the middle of an array and sorts it from the center element(s) outwards until the edges of the array are reached, at which point the array is sorted. <!-- 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) - [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: Add a new sorting algorithm called middle sort --- <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:27:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#2039