判断下述Python程序的时间复杂度是否为线性阶O(n)
def func(n):
i = 0
while i ** 2 < n:
i += 1
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析