getting tle
Intersection point of two ll
hello @mkidwai74
instead of calling length function again n again.
try this->
call lenght function only once and store the result in some variable
I have stored the result in variable d

u are calling length again n again na.
just call lenght only once before starting comparision .
and then use it.
for ex->
length1=length(l1)
length2=lenght(l2)
now use these two variables for furtur comparision
modified it the way you said, however still getting a tle
chekc now->
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.