摘要: 1.two sum 思路:一次遍历+hash class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { unordered_map<int,int> a; vector<int> b; for(int i 阅读全文
posted @ 2020-09-03 09:46 陈墨cacm 阅读(178) 评论(0) 推荐(0) 编辑