You are viewing a single comment's thread. Return to all comments →
Bad approach, why increase so much space complexity when the job can be done via updating the pointers.
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 →
Bad approach, why increase so much space complexity when the job can be done via updating the pointers.