摘要: C++:vector twoSum(vector& nums, int target) { unordered_map hashMap; for (int i = 0; i {hashMap[nums[i]]+1, i+1}; } ... 阅读全文
posted @ 2015-06-01 23:12 Rango_Zhang 阅读(210) 评论(0) 推荐(0) 编辑