Update sorts/bead_sort.py

This commit is contained in:
MaximSmolskiy 2024-04-09 02:00:34 +03:00
parent 2c1816bf10
commit b10e5632e4

View File

@ -3,6 +3,8 @@ Bead sort only works for sequences of non-negative integers.
https://en.wikipedia.org/wiki/Bead_sort
"""
from itertools import pairwise
def bead_sort(sequence: list) -> list:
"""