執行次數,並加總起來,然後求出其Big-O。 ... 8. O(n!):階乘時間(factorial). 如果n足夠大時→. 1< log n < n < n log n < n2 < n3 < 2n < n!
確定! 回上一頁