摘要: 217 存在重复元素 1.使用双指针来做可以实现但是不用说也可以直接看到,效率太低了 class Solution { public: bool containsDuplicate(vector<int>& nums) { int length = nums.size(); for(int i=0; 阅读全文
posted @ 2021-10-16 16:26 Lzwhehe 阅读(46) 评论(0) 推荐(0)