Concept Flow - Reverse a Singly Linked List Recursive
Start with head node
Check if head is NULL or head->next is NULL?
Yes→Return head (base case)
No
Recursive call: reverse(head->next)
After recursion returns: head->next->next = head
Set head->next = NULL
Return new head from recursion
Done: List reversed
The function recursively reverses the list by going to the end, then rewiring pointers backward step-by-step.
