問題詳情

9. About algorithm complexity, which of the following claims are true?
(A)merge sort is θ(nlogn).
(B)Euclid's algorithm to find gcd(a,b) is e(log max(a, b)).
(C) bubble sort is θ(nlogn),
(D) Roy-Warshall Algorithm to compute transitive closure is θ(n2) (bitoperations).
(E) traveling sales problem is a NP-hard problem.

參考答案

答案:[無官方正解]
難度:計算中-1
書單:沒有書單,新增