加载中...

leetcode Hot100 CPP题解 个人认为最简单好背的版本

1.两数之和 class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { unordered_map<int,int>m; for(int i=0,j=0;i<nums.size();i++){ int r
posted @ 2024-07-04 06:38  liang302  阅读(2)  评论(0编辑  收藏  举报