Question DSA-LL-0021
EasyIn a singly linked list, what does the last node's next pointer hold?
- A.
The previous node
- B.
NULL (None)
- C.
Show answer and explanation
Answer: B
A null pointer marks the end of the list.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Linked Lists question
In a singly linked list, what does the last node's next pointer hold?
The previous node
NULL (None)
Answer: B
A null pointer marks the end of the list.
The head node
Its own address