You are viewing a single comment's thread. Return to all comments →
It seems like this code will not work if head is null. No new node would be created in this case.
HackerRank solutions.
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 →
It seems like this code will not work if head is null. No new node would be created in this case.
HackerRank solutions.