下面几种算法时间复杂度阶数中,值最大的是()
下面几种算法时间复杂度阶数中,值最大的是()
A、O(nlog2n)
B、O(n2)
C、0(n)
D、O(2n)
【正确答案】:D
【题目解析】:算法时间复杂度阶数从小到大:O(1)、O(n)、O(log₂n) 、O(n²) 。
Top