Vidyalelo
Data Structure · Q41

Queues in Data Structures

Programming · Data Structure · question 41

Q41

What is the time complexity of the enqueue and dequeue operations in a queue implemented using a linked list?

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

Answer: Option A

Solution

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