如何找到俩个单链表相交的交点

1. Method 1(Simply use two loops) Use 2 nested for loops. The outer loop will be for each node of the 1st list and inner loop will be for 2nd list. In the inner loop, check if any of nodes of the 2nd
相关文章
相关标签/搜索