Skip to content
Related Articles

Related Articles

Improve Article

Algorithms Quiz | SP Contest 4 | Question 5

  • Last Updated : 01 Aug, 2018

What is the corresponding time complexity for different operations like insert at head, insert at tail, delete tail, searching for an element on circular doubly linked list?
(A) O(n), O(1), O(n), O(n)
(B) O(1), O(1), O(1), O(n)
(C) O(1), O(1), O(1), O(1)
(D) None of the above

Answer: (B)


Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :