Practice mode Data Structures

In a circular singly linked list, what does the last node point to?

Correct answer D. The first node

Explanation

In a circular list the final node's next pointer wraps around to the first node instead of being null, so there is no natural end. This lets you traverse the whole list from any node and is convenient for round-robin scheduling. Traversal loops must therefore stop when they return to the starting node, not when they meet a null pointer.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.