Multiple choice

How many pointers are in the assigned state in a 10 - node doubly linked list?

  1. 20

  2. 10

  3. 18

  4. 8

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In a doubly linked list of 10 nodes, each node has two pointers. However, the first node's 'previous' pointer and the last node's 'next' pointer are null. Thus, there are 9 'next' pointers and 9 'previous' pointers, totaling 18 active links.