Write a program to find the node at which the intersection of two singly linked lists begins.
解题:
1. 指针p指向A,指针q指向B 2. 指针p遍历A后遍历B,指针q遍历B后遍历A 3. pq必然会在交点处相遇
标签:shangdixinxi 上地信息