【劍指offer】面試題52:兩個鏈表的第一個公共節點

52.兩個鏈表的第一個公共節點 輸入兩個鏈表,找出它們的第一個公共節點。node 輸入:intersectVal = 8, listA = [4,1,8,4,5], listB = [5,0,1,8,4,5], skipA = 2, skipB = 3 輸出:Reference of the node with value = 8 輸入:intersectVal = 2, listA = [0,
相關文章
相關標籤/搜索