[PR #1384] [CLOSED] negative nums can also be sorted by radix_sort_2 now #1983

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

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/1384
Author: @goksuko
Created: 3/2/2024
Status: Closed

Base: masterHead: radix_sort/neg_nums


📝 Commits (1)

  • 08f1013 negative nums can also be sorted by radix_sort_2 now

📊 Changes

1 file changed (+168 additions, -24 deletions)

View changed files

📝 sorting/radix_sort_2.c (+168 -24)

📄 Description

Description

Before the change, the program was able to sort only positive numbers. Now it can sort both negative and positive numbers.

References

original radix_sort_2 document used

Checklist

  • Added description of change
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • I acknowledge that all my contributions will be made under the project's license.

Notes: negative nums can also be sorted by radix_sort_2 now


🔄 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/1384 **Author:** [@goksuko](https://github.com/goksuko) **Created:** 3/2/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `radix_sort/neg_nums` --- ### 📝 Commits (1) - [`08f1013`](https://github.com/TheAlgorithms/C/commit/08f10131aee85c6a1de159eb09b350b8109401ec) negative nums can also be sorted by radix_sort_2 now ### 📊 Changes **1 file changed** (+168 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `sorting/radix_sort_2.c` (+168 -24) </details> ### 📄 Description #### Description Before the change, the program was able to sort only positive numbers. Now it can sort both negative and positive numbers. <!-- 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 original radix_sort_2 document used <!-- 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 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] 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 --> negative nums can also be sorted by radix_sort_2 now --- <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:07 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1983