core dumped error
code link : https://ide.codingblocks.com/s/264781
Intersection of linkedlist
Hi anukrati ,
What i understood from ur code is that are u saving the nodes in an unordered_map and then checking if whether a point exists from one list into another ?
This is the initial code which comes in the question itself. The question asked to work on only the required function
Here is the link of the predefined code which comes in the question
I guess core dumped occured because u were trying it without giving any input.
