You are viewing a single comment's thread. Return to all comments →
result would be 0 - 1 - 2 - 2 - 3 - 4 - 5 - 6
0 - 1 - 2 - 2 - 3 - 4 - 5 - 6
result.next would be 1 - 2 - 2 - 3 - 4 - 5 - 6
1 - 2 - 2 - 3 - 4 - 5 - 6
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 →
result would be
0 - 1 - 2 - 2 - 3 - 4 - 5 - 6
result.next would be
1 - 2 - 2 - 3 - 4 - 5 - 6
HackerRank solutions.