You are viewing a single comment's thread. Return to all comments →
This isn't a tail-recursive solution, and it will blow up the stack when the list is even moderately sized.
Seems like cookies are disabled on this browser, please enable them to open this website
Reverse a linked list
You are viewing a single comment's thread. Return to all comments →
This isn't a tail-recursive solution, and it will blow up the stack when the list is even moderately sized.