Intersection of two linked list -recursively ?


  • 0
    W

    Is it possible to find the intersection of two linked list using recursion ? I am sure its possible if we use two stack and push the nodes of two linked list and compare the node reference after popping.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.