设n是描述问题规模的非负整数,后面程序片段的时间复杂度为()

设n是描述问题规模的非负整数,后面程序片段的时间复杂度为() A. A.O(log2n)(备注:2是底数) B. B.O(n) C. C.O(nlog2n)(备注:2是底数) D. D.O(n*n)


配图

📖 相关文章