Algorithms and Data Structures · Junior · Question 23 of 75
What is a singly linked list?
- 1An array whose elements are always sorted
- ✓Correct answer: A chain of nodes, each pointing to the next one
- 3A table where each row links to a row in another table
Explanation
Each node knows only its successor; the list is accessed through its head. Nodes don't have to sit next to each other in memory, unlike array elements.