第26444题
判断给定Python函数func(n)的时间复杂度是否为线性阶O(n)
def func(n):
    i = 0
    while i ** 2 < n:
        i += 1
A

正确

B

错误

提交0次 正确率0.00%
答案解析