In recent years, ( ) produced in the process of soil denitrification has been reported to have greenhouse effect.
A: NO
B: NO2
C: N2O
D: N2
A: NO
B: NO2
C: N2O
D: N2
举一反三
- T(n)=2*T(n/2)+ O(n),该递归方程描述的算法时间复杂度是 A: O(n2) B: O(nlog2n) C: O(2n) D: O(n)
- An algorithm has running time $T(n)$, which satisfies $T(n) = 4T(n/4) + O(n)$.So, its running time is _____. A: $O(n\log n)$ B: $O(n)$ C: $O(n^2)$ D: $O(n^2\log n)$
- If an algorithm has running time $T(n)= O(n\log n)$, then $T(n)$ may most likely satisfy that _____. A: $T(n) = 4T(n/4) + O(n^2)$ B: $T(n) = 4T(n/4) + O(n) $ C: $T(n) = 3T(n/2)+O(n) $ D: $T(n) = 2T(n/2) + O(\log n)$
- 分析下列程序段的时间复杂度是______。i=1:while(i<=n)i=i*2; A: O(n) B: O(n2) C: O(log2n) D: O(2*n)
- 下列算法的时间复杂度为n=n*n;while(n<0)n++;n=n*2;() A: O(1) B: O(n) C: O(n^(1/2)) D: O(n^2)