You are viewing a single comment's thread. Return to all comments →
Would appreciate if you explain why you have newHead, can't you just return head?
Seems like cookies are disabled on this browser, please enable them to open this website
Reverse a doubly linked list
You are viewing a single comment's thread. Return to all comments →
Would appreciate if you explain why you have newHead, can't you just return head?