1.

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

A. O(1)
B. O(n)
C. O(n<sup>2</sup>)
D. O(logn)
Answer» D. O(logn)


Discussion

No Comment Found