Intersection Point of Linked List. Help needed debugging

i am getting run error in the test case 0. Could you tell me where i am going wrong?

u havent handled the case when the 2 linked list have no intersection

eg
1
0
2
5 10