-->
当前位置:首页 > 题库 > 正文内容

Multiple choice:The time complexity of the following code is:

Luz4年前 (2021-05-10)题库435
The time complexity of the following code is: @ [C] (2)
```
for(i=0; ifor(j=0; jprintf("%d,%d\n", i, j);
```
A. $$O(N \times j)$$
B. $$O(N)$$
C. $$O(N ^2 )$$
D. $$O(NlogN)$$




A.$$O(N \times j)$$
B.$$O(N)$$
C.$$O(N ^2 )$$
D.$$O(NlogN)$$


answer:C

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。