Skip to content

Add Shell Sort algorithm (fixes #13887)#13892

Open
rachit-27 wants to merge 3 commits intoTheAlgorithms:masterfrom
rachit-27:my-contribution
Open

Add Shell Sort algorithm (fixes #13887)#13892
rachit-27 wants to merge 3 commits intoTheAlgorithms:masterfrom
rachit-27:my-contribution

Conversation

@rachit-27
Copy link

Summary

Implements the Shell Sort algorithm inside sorts/shell_sort.py.

Details

  • Added Shell Sort function with proper docstring, type hints, and doctests.
  • Created corresponding unit tests under tests/sorts/test_shell_sort.py.
  • Verified functionality using pytest — all tests passed locally.
  • Code follows repository conventions and naming patterns.

Related Issue

Fixes #13887

@algorithms-keeper algorithms-keeper bot added awaiting reviews This PR is ready to be reviewed tests are failing Do not merge until tests pass and removed tests are failing Do not merge until tests pass labels Nov 10, 2025
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.

Add missing Shell Sort algorithm

1 participant