15 以時間複雜度(Worst Case Time Complexity)而言,..-阿摩線上測驗
最佳解! | ||
2F lin 高三上 (2019/04/17)
插入排序: best:O(n) worst:O(n2) average:O(n2) 氣泡排序: best:O(n) worst:O(n2) average:O(n2) 選擇排序: best:O(n2) worst:O(n2) average:O(n2) 合併排序: best:O(nlogn) worst:O(nlogn) average:O(nlogn) 快速排序: best:O(nlogn) worst:O(n2) average:O(nlogn) 堆積排序: best:O(nlogn) worst:O(nlogn) average:O(nlogn... 查看完整內容 |
3F
|