4. In a quadratic algorithm, if n is the number that controls the loop, which of the following is the function that defines the number of times the loop is repeated?
(A) log n
(B) n2
(C) n log n
(D) log2 n

答案:登入後查看
統計: 尚無統計資料

詳解 (共 1 筆)

#7521205
這題在考什麼觀念 演算法的時間複雜度(...
(共 1009 字,隱藏中)
前往觀看
0
0