Intersection point two linked list

Sir 2 test cases failed.Pls review this.

I have edited your code… One loop was missing in the intersection function… Try to submit the code now…