We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
its a recursive call, CompareLists is the name of the method i created in the first line of code, and I am calling it again passing values the next node of both headA and headB
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Compare two linked lists
You are viewing a single comment's thread. Return to all comments →
its a recursive call, CompareLists is the name of the method i created in the first line of code, and I am calling it again passing values the next node of both headA and headB