Python icon indicating copy to clipboard operation
Python copied to clipboard

Add Shell Sort algorithm (fixes #13887)

Open rachit-27 opened this issue 2 months ago • 0 comments

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

rachit-27 avatar Nov 10 '25 07:11 rachit-27