下列代码的时间复杂度为多少?
def func(n):
i = 1
count = 0
while i <= n:
count += 1
i = i * 2
return count
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析