1.

What is the time complexity of the above iterative implementation used to find the length of a linked list?

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


Discussion

No Comment Found