Skip to content

fix: add negative input validation to radix_sort - #15031

Closed
deepshekhardas wants to merge 1 commit into
TheAlgorithms:masterfrom
deepshekhardas:fix/algo-14950-radix-negative
Closed

fix: add negative input validation to radix_sort#15031
deepshekhardas wants to merge 1 commit into
TheAlgorithms:masterfrom
deepshekhardas:fix/algo-14950-radix-negative

Conversation

@deepshekhardas

Copy link
Copy Markdown

Describe your change

  • Add an algorithm?
  • Fix a bug or typo in an existing algorithm?
  • Add, change, or clarify documentation?

What does this implement/fix?

Radix sort does not handle negative integers; raises ValueError with a clear message instead of returning wrong results.

Additional comments?

None.

@algorithms-keeper

Copy link
Copy Markdown

Multiple Pull Request Detected

@deepshekhardas, we are extremely excited that you want to submit multiple algorithms in this repository but we have a limit on how many pull request a user can keep open at a time. This is to make sure all maintainers and users focus on a limited number of pull requests at a time to maintain the quality of the code.

This pull request is being closed as the user already has an open pull request. Please focus on your previous pull request before opening another one. Thank you for your cooperation.

User opened pull requests (including this one): #15030, #15029, #15026, #15025, #15024, #15023

@algorithms-keeper algorithms-keeper Bot added the awaiting reviews This PR is ready to be reviewed label Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviews This PR is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant