You are viewing a single comment's thread. Return to all comments →
U did have to add an greater than equal sign to the else if statement to run the code
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Merge two sorted linked lists
You are viewing a single comment's thread. Return to all comments →
U did have to add an greater than equal sign to the else if statement to run the code
else if((headA->data) >= (headB->data))