【Python数据结构与算法】——(线性结构)精选好题分享,不挂科必看系列

【Python数据结构与算法】——(线性结构)精选好题分享,不挂科必看系列

?个人主页: Aileen_0v0
?系列专栏:>”><>
?个人格言:”没有罗马,那就自己创造罗马~”

时间复杂度大小比较

1.time complexity of algorithm A is O(n^3) while algorithm B is O(2^n). Which of the following statement is TRUE? 

A.For any problem in any scale, the alogorithm A is more efficient than alogrithm B.

B.For any problem in any scale, the alogorithm B is more efficient than alogrithm A.

C.As the scale of the proble increase,the alogrithm A is more efficient than alogrithm B. 

D.As the scale of the proble increase,the alogrithm B is more efficient than alogrithm A. 

【Python数据结构与算法】——(线性结构)精选好题分享,不挂科必看系列

?Review Link

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/38cdc6a31c.html