Examveda

In which of the following scenarios is a linked list preferable to an array?

A. When you need constant time access

B. When you need dynamic resizing

C. When you need better cache locality

D. When you need a fixed size

Answer: Option B


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