摘要: 题目描述输入两个链表,找出它们的第一个公共结点。牛客网链接js代码/*function ListNode(x){ this.val = x; this.next = null;}*/function FindFirstCommonNode(pHead1, pHead2){ // write code here let len1 = FindLength(pHead1) ... 阅读全文
posted @ 2019-11-06 21:39 1Shuan 阅读(274) 评论(0) 推荐(0) 编辑