We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c8ee20 commit c359aeeCopy full SHA for c359aee
contains-duplicate/sounmind.ts
@@ -0,0 +1,3 @@
1
+function containsDuplicate(nums: number[]): boolean {
2
+ return nums.length !== new Set(nums).size;
3
+}
0 commit comments