Skip to content

Commit 8a353fc

Browse files
committed
[main] contains-duplicate solution
1 parent 53ce7c7 commit 8a353fc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contains-duplicate/jeongyunjae.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Solution:
2+
def containsDuplicate(self, nums: List[int]) -> bool:
3+
return len(list(set(nums))) != len(nums)

0 commit comments

Comments
 (0)