Skip to content

Commit 86be481

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d913580 commit 86be481

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sorts/bead_sort.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
Bead sort only works for sequences of non-negative integers.
33
https://en.wikipedia.org/wiki/Bead_sort
44
"""
5+
56
from itertools import pairwise
67

8+
79
def bead_sort(sequence: list) -> list:
810
"""
911
>>> bead_sort([6, 11, 12, 4, 1, 5])

0 commit comments

Comments
 (0)