刷题笔记 LeetCode-Hot100-哈希 1.两数之和 C++创建一个空哈希表(unordered_map<int, int> idx;),枚举 j,不要带结束条件,不然会报错没有返回值在 j 左边找 i ,满足 nums[i] + nums[j] =...