1.

What is the time complexity to count the number of elements in the linked list?

A. O(1)
B. O(n)
C. O(logn)
D. None of the mentioned
Answer» C. O(logn)


Discussion

No Comment Found