When any data matches in the two linked list, we return that data, is my interpretation of problem correct?
When any data matches in the two linked list, we return that data, is my interpretation of problem correct?
Hey,
It might so happen that the same integer is in both the linked list but it is not the intersection point.
Better use two-pointers and iterate on both the linked list(Or better use a hashmap).
Hope it helps. 
Hey @pragyachoudhary1111
Data may repeat in the two lists but not be the intersection point. You need to find the first node
( node address ) which is common to the the traversal of both the lists.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.