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 a1685a6 commit 9d9bfa6Copy full SHA for 9d9bfa6
contains-duplicate/JiHyeonSu.py
@@ -0,0 +1,5 @@
1
+# 중복제거 후 길이 확인 문제
2
+# 시간복잡도 및 공간복잡도 O(n)
3
+class Solution:
4
+ def containsDuplicate(self, nums: List[int]) -> bool:
5
+ return len(nums) != len(set(nums))
0 commit comments