题目详情
单选题 设n 是描述问题规模的非负整数,下面的程序片段的时间复杂度是().x=2 :while (x<n/2 )x=2*x
A. O(log2n)
B. O(n)
C. O(nlog2n)
D. O(n2)
学科:数据结构
时间:2024-12-12 04:19:21
相关题目
相关作业