Bisect Module: Inse(o)rt, Bisect and usage of them | Python

Bisect Module: Inse(o)rt, Bisect and usage of them | Python

Andrey Ivanov | Python

4 года назад

546 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@dz_
@dz_ - 17.11.2022 16:49

Great bisect explanation! Small thing: you were correct before with a.sort() b/c that sorts in-place. sorted(a) will return a sorted array but since it isn't being assigned it will have no effect.

Ответить