You are viewing a single comment's thread. Return to all comments →
Will it really work with prev in here:
if (!node->prev) return node;
Shouldn't it be node->next?
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 →
Will it really work with prev in here:
Shouldn't it be node->next?