📅  最后修改于: 2022-03-11 14:55:14.947000             🧑  作者: Mango
Bubble sort has a worst-case and average complexity of Ð(n2), where n is the number of items being sorted. Most practical sorting algorithms have substantially better worst-case or average complexity, often O(n log n).