Intersection of Two Linked Lists
Examples
Example 1:
Input: listA = [4,1,8,4,5], listB = [5,6,1,8,4,5], skipA = 2, skipB = 3
Output: 8
Explanation:
Example 2:
Input: listA = [1,9,1,2,4], listB = [3,2,4], skipA = 3, skipB = 1
Output: 2
Explanation:
Example 3:
Input: listA = [2,6,4], listB = [1,5], skipA = -1, skipB = -1
Output: null
Explanation: