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 53ce7c7 commit cb001dcCopy full SHA for cb001dc
contains-duplicate/sooooo-an.ts
@@ -0,0 +1,7 @@
1
+function containsDuplicate(nums: number[]): boolean {
2
+ return new Set(nums).size !== nums.length;
3
+}
4
+/**
5
+ * runtime: 24ms / Beats 27.12%
6
+ * memory 74.42MB / Beats 55.98%
7
+ */
0 commit comments