Here’s my code , please help.
Why I'm getting TLE
Hey where is it giving TLE??
If Here: https://hack.codingblocks.com/app/contests/1512/1334/problem ,then its giving TLE because you have to fill provided function here and you can’t create your int main etc
because intersection share a common node itself and not value only .
Hey @apoorvagupta1
Add this between line 36& 37
t1=temp1,t2=temp2;
Because t1 and t2 are NULL otherwise since u used them to calculate length of list
Also don’t compile your code but instead submit it ,Its not possible to give custom Input in this case.
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.