Intersection point of two

i am not getting the quesion
[(1->2->3->4->null) and (3->4->5->null)] are they intersecting. is intersecting mean the link list must be subpart of one another or they must end with same null

hello @Rajan_42

image

the two given lists will something like this in case of intersection

i’m not getting approach to solve this in o(n). please give me some hint