0
Consider the given memory representation of a singly linked list, where start points to the address of the starting node of the linked list, which is in memory location 0.
If you traverse all the elements from the given linked list, then which of the following is the correct order?
Memory representation of the linked list
| Memory location | Item value | Pointer to next element |
|---|---|---|
| 0 | A | 4 |
| 1 | E | 3 |
| 2 | B | NULL |
| 3 | X | 2 |
| 4 | C | 1 |
- AA, B, C, E, X
- BA, E, B, X, C
- CA, C, X, E, B
- DA, C, E, X, B
Correct answer: D