You are viewing a single comment's thread. Return to all comments →
We end up returning result.next, so, it doesn't matter what value we store in this "dummy" node. You can store any value here.
result.next
HackerRank solutions.
Seems like cookies are disabled on this browser, please enable them to open this website
Merge two sorted linked lists
You are viewing a single comment's thread. Return to all comments →
We end up returning
result.next
, so, it doesn't matter what value we store in this "dummy" node. You can store any value here.HackerRank solutions.