Intersection point two linked lists

i have started checking from last but my code looks very complex, how can i further optimise my code?

1 Like

hey @sktg99, here is the optimised approach to solve this problem is method 3 mentioned in https://www.geeksforgeeks.org/write-a-function-to-get-the-intersection-point-of-two-linked-lists/