We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The chance to get it with a bug is much higher when trying iterative compared to simpler code of recursive solution, which makes it also simple to get correct solution. But if you like to do it iterativly, i don't mind :)
Reverse a linked list
You are viewing a single comment's thread. Return to all comments →
The chance to get it with a bug is much higher when trying iterative compared to simpler code of recursive solution, which makes it also simple to get correct solution. But if you like to do it iterativly, i don't mind :)