Intersection point two linked lists

Test case 1 and 2 are giving run error.