import random def bogo_sort(collection): def is_sorted(collection): if len(collection) < 2: return True
京公网安备 11010502049817号