首页
题库
网课
在线模考
桌面端
登录
搜标题
搜题干
搜选项
0
/ 200字
搜索
多项选择题
已知一个数组a的长度为n,求问下面这段代码的时间复杂度:
An array of a, its length is known as n. Please answer the time complexity of the following code.(There are more than one answers.)
for (i=0,length=1;i
for (j = i+1;j
if(length
length=j-i+1;
}
A.
B.
C.
D.
点击查看答案
在线练习
手机看题
你可能感兴趣的试题
单项选择题
根据主、俯视图,选择正确的左视图。
A、
B、
C、
D、
点击查看答案
手机看题
问答题
答案:
-1
点击查看答案
手机看题
微信扫码免费搜题