Node *intersectionOfTwoLinkedLists(Node *l1, Node *l2{
Node*temp1 = l1;
Node*temp2 = l2;
while(temp1!=NULL and temp2!=NULL and temp1!=temp2){
if(temp1 == temp2){
return temp1;
}
temp1 = temp1->next;
temp2 = temp2->next;
}
return NULL;
}