1.

What would be the asymptotic time complexity to insert an element at the second position in the linked list?

A. O(1)
B. O(n)
C. O(n<sup>2</sup>)
D. None of the mentioned
Answer» B. O(n)


Discussion

No Comment Found