InterviewSolution
Saved Bookmarks
| 1. |
Describe how you would reverse a singly linked list. |
|
Answer» The TASK is to reverse a linked list given a pointer to the HEAD node. By modifying the linkages between nodes, we can reverse the list. Iterative method:
|
|