You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you first count the amount of nodes in both linked list, you can then figure out the difference in the number of nodes between the two.
9
+
Using that, you can then move the starting pointer of the longest linked list to the position where you can iterate both linked lists at the same time to find the intersection node.
0 commit comments