## How to find the intersection point of two linked lists?

The problem statement is: Given the head pointers (head1 and head2 ) of two linked lists, find the intersection node of the two lists. For the above image, program needs to output: 4 as the intersection point. Naive Approach Run two for loops: outer loop from 0 to head1.length() and inner […]