LambertCao
LambertCao
全部文章
题解
归档
标签
去牛客网
登录
/
注册
LambertCao的博客
全部文章
/ 题解
(共2篇)
题解 | #最长公共前缀#
我以为是用前缀树,结果超内存,累了 #include<iostream> #include<vector> #include<string> #include<algorithm> using namespace std; class preTre...
2021-09-09
0
431
题解 | #两个链表生成相加链表#
class Solution {public: ListNode* FindFirstCommonNode( ListNode* pHead1, ListNode* pHead2) { //两个同时走,走到最后再换 ListNode* curr1 = pHead1;...
2021-06-30
0
466