Beginner Data Structures & Algorithms
Q14 / 100

What is a doubly linked list?

Correct! Well done.

Incorrect.

The correct answer is B) A list where each node has pointers to both the next and previous nodes

B

Correct Answer

A list where each node has pointers to both the next and previous nodes

Explanation

Each node in a doubly linked list stores a value and two pointers: next and prev. This allows O(1) deletion given a node reference, and bidirectional traversal.

Progress
14/100