dapaogege

导航

 

2025年12月21日

摘要: lecode 1 class Solution { public: vector twoSum(vector& nums, int target) { std::unordered_map<int,int> mp; //注意unordered_map是哈希表,查找时间是O(1),map创建是需要两个 阅读全文
posted @ 2025-12-21 17:01 dapaogege 阅读(2) 评论(0) 推荐(0)