what will be the custom input??
What will be the custom input?
Hey @Vipin_coder
stub Is given for input just write your logic
Node intersectionOfTwoLinkedLists(Node l1, Node l2) {
/* Code here */
}
stub?? I can’t understand
Input function is already written
yes, but i want to check my logic by providing custom input,how can i do that?
try for this input :
1 2 3 -1
4 2
output :
L1 - 1 2 3
L2 - 4 2 3
Intersection at node with data = 2