mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-23 21:11:08 +00:00
Update sorts/bead_sort.py
This commit is contained in:
parent
2c1816bf10
commit
b10e5632e4
|
@ -3,6 +3,8 @@ Bead sort only works for sequences of non-negative integers.
|
||||||
https://en.wikipedia.org/wiki/Bead_sort
|
https://en.wikipedia.org/wiki/Bead_sort
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from itertools import pairwise
|
||||||
|
|
||||||
|
|
||||||
def bead_sort(sequence: list) -> list:
|
def bead_sort(sequence: list) -> list:
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user