Examveda

Which of the following operations requires O(n) time in a doubly linked list?

A. Accessing an element by index

B. Deleting a node at the end

C. Inserting a node at the beginning

D. Traversing the list

Answer: Option D


This Question Belongs to Data Structure >> Linked Lists In Data Structures

Join The Discussion

Related Questions on Linked Lists in Data Structures

What is a circular linked list?

A. A list where each node points to the next

B. A list where the last node points to the first node

C. A list where each node points to itself

D. A list where the nodes are in a circle