Python:实现pigeon sort鸽巢算法 from __future__ import annotations def pigeon_sort(array: list[int]) -> list[int]