You are viewing a single comment's thread. Return to all comments →
just add condition that previous and next node of the node you add is not null
Seems like cookies are disabled on this browser, please enable them to open this website
Inserting a Node Into a Sorted Doubly Linked List
You are viewing a single comment's thread. Return to all comments →
just add condition that previous and next node of the node you add is not null