You are viewing a single comment's thread. Return to all comments →
Thanks for explaining. But I cannot understand each time new head.next will become null and it won't be linked. But why that is not the case;
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 →
Thanks for explaining. But I cannot understand each time new head.next will become null and it won't be linked. But why that is not the case;