1.

What is the time complexity of the following code used to find the length of the string?

A. O(1)
B. O(n)
C. O(n2)
D. O(logn)View Answer
Answer» C. O(n2)


Discussion

No Comment Found