Intersection Point of two Linked lists

I am confused about the return statement on line 74. some of the test cases are showing TLE.

line 74 points to the fact that these do not intersect so u simply return null

Ii is showing run error although i have returned null