Node *intersectionOfTwoLinkedLists(Node l1, Node l2)
{
int len1=0,len2=0;
Node t1 = l1;
Node t2 = l2;
while(l1!=NULL){
len1++;
l1= l1->next;
}
while(l2!=NULL){
len2++;
l2= l2->next;
}
int diff = 0;
if(len1>len2){
diff = len1-len2;
for(int i=0;i<diff;i++)
l1 = l1->next;
}
else if(len1<len2){
diff = len2-len1;
for(int i=0;i<diff;i++)
l1 = l1->next;
}
// else{
while(l1!=l2){
l1 = l1->next;
l2 = l2->next;
}
return l1;
/