Intersection point


error ?
how to reduce time complexity ?

Hey @divyam_13, This code seems to work fine. Where are you getting troubled at?
As far as time complexity , the code you implemented has O(n) which is the least time complexity you can achieve by solving this problem.

run time error show ho rha hai

Yeh code submit kra hai apne abi tak? Cause submission Mai main() function hoga and whi se linked list Bni hogi. So , yeh submit krke dekho

yeh code hi submit kia hai

@divyam_13 This problem is showing this to me


I would suggest you to leave this problem as it’s under review and backend team is making some changes for this problem, as of now you can Move on to your next question.

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.