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.
how about this:-
here is another soultion but it is only prinitng 1 but debug output prints everything right...how?
SinglyLinkedListNode* reverse(SinglyLinkedListNode* head) {
Reverse a linked list
You are viewing a single comment's thread. Return to all comments →
how about this:- here is another soultion but it is only prinitng 1 but debug output prints everything right...how? SinglyLinkedListNode* reverse(SinglyLinkedListNode* head) {
}