1.

What is the complexity of the following code?sum=0; for (i=1; I

A. O(n2)
B. O(n log n)
C. O(n)
D. O(n log n log n)
Answer» C. O(n)


Discussion

No Comment Found