摘要: #include<vector> #include<map> #include<iostream> #include<memory> using namespace std; struct ListNode { int val; ListNode* next; ListNode(int x) : v 阅读全文
posted @ 2020-09-16 13:10 shadowgully 阅读(94) 评论(0) 推荐(0) 编辑
摘要: #include<vector> #include<map> #include<iostream> using namespace std; /*暴力遍历 vector<int> twoSum(vector<int>& nums, int target) { vector<int> ret; if( 阅读全文
posted @ 2020-09-16 13:09 shadowgully 阅读(115) 评论(0) 推荐(0) 编辑