mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #1402] [CLOSED] feat: add stable selection sort algorithm #2000
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/TheAlgorithms/C/pull/1402
Author: @kiranj26
Created: 6/24/2024
Status: ❌ Closed
Base:
master← Head:stable-selection-sort📝 Commits (2)
3d66262feat: add stable selection sort algorithm4e94f73fix: Move test cases out of main function in stable selection sort📊 Changes
1 file changed (+182 additions, -0 deletions)
View changed files
➕
sorting/stable_selection_sort.c(+182 -0)📄 Description
Add Stable Selection Sort Algorithm
Description of Change
This pull request adds a stable selection sort algorithm to the repository. The algorithm maintains the relative order of equal elements while sorting the array. It includes:
References
Checklist
Notes
This implementation ensures that the relative order of equal elements is maintained, providing a stable sort.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.