Vidyalelo
Data Structure · Q83

Linked Lists in Data Structures

Programming · Data Structure · question 83

Q83

Which among the following is the time complexity for inserting at the beginning of a triply linked list?

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

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board