sorts.stooge_sort¶
Attributes¶
Functions¶
|
|
|
Examples: |
Module Contents¶
- sorts.stooge_sort.stooge(arr: list[int], i: int, h: int) None ¶
- sorts.stooge_sort.stooge_sort(arr: list[int]) list[int] ¶
Examples: >>> stooge_sort([18.1, 0, -7.1, -1, 2, 2]) [-7.1, -1, 0, 2, 2, 18.1]
>>> stooge_sort([]) []
- sorts.stooge_sort.user_input¶