[] 36. Offer wins the two first common node list implementation python

Title Description

Two input lists, find their first common node.

# -*- coding:utf-8 -*-
# class ListNode:
#     def __init__(self, x):
#         self.val = x
#         self.next = None
class Solution:
    def FindFirstCommonNode(self, pHead1, pHead2):
        # write code here
Published 99 original articles · won praise 6 · views 3959

Guess you like

Origin blog.csdn.net/weixin_42247922/article/details/104021367