热门标签
更多>
搜索结果
查询Tags标签: LeetCode160,共有 2条记录-
LeetCode160相交链表
class Solution { public:ListNode* getIntersectionNode(ListNode* headA, ListNode* headB) {stack<ListNode*>stA;stack<ListNode*>stB;if (headA == NULL || headB == NULL) {return NULL;}while (headA) {stA.push(headA);headA = headA->next;}while…
2021/7/15 23:15:14 人评论 次浏览 -
LeetCode160相交链表
class Solution { public:ListNode* getIntersectionNode(ListNode* headA, ListNode* headB) {stack<ListNode*>stA;stack<ListNode*>stB;if (headA == NULL || headB == NULL) {return NULL;}while (headA) {stA.push(headA);headA = headA->next;}while…
2021/7/15 23:15:14 人评论 次浏览