自己做鲜花网站怎么样,加强文明网站建设,网站更改空间,网页版qq邮箱登录题目#xff1a; 题解#xff1a;
class Solution {public boolean containsDuplicate(int[] nums) {SetInteger set new HashSetInteger();for (int x : nums) {if (!set.add(x)) {return true;}}return false;}
}题目 题解
class Solution {public boolean containsDuplicate(int[] nums) {SetInteger set new HashSetInteger();for (int x : nums) {if (!set.add(x)) {return true;}}return false;}
}