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.
Compare two linked lists
Compare two linked lists
Sort by
recency
|
1000 Discussions
|
Please Login in order to post a comment
Python solution:
def compare_lists(llist1, llist2):
Here is my c++ solution, you can watch the explanation here : https://youtu.be/sxWBiWg16JU
Solution in C
}
i need to ask sth using javascript check condition using while(currentnode.next) always gave a runtime error bec the compiler can't read null but when i used just currentnode solved it
simple python solution: