From b10e5632e4479c2117c8b67113b5aa6545f127aa Mon Sep 17 00:00:00 2001 From: MaximSmolskiy Date: Tue, 9 Apr 2024 02:00:34 +0300 Subject: [PATCH] Update sorts/bead_sort.py --- sorts/bead_sort.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sorts/bead_sort.py b/sorts/bead_sort.py index 2e6fa5161..abc3f81ab 100644 --- a/sorts/bead_sort.py +++ b/sorts/bead_sort.py @@ -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: """