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 fe8e98e commit 4867bffCopy full SHA for 4867bff
1 file changed
โcontains-duplicate/kangdaia.pyโ
@@ -1,5 +1,5 @@
1
class Solution:
2
- def containsDuplicate(self, nums: List[int]) -> bool:
+ def containsDuplicate(self, nums: list[int]) -> bool:
3
"""
4
๋ฆฌ์คํธ์ ์ซ์๊ฐ ๋๋ฒ ์ด์ ๋ฑ์ฅํ๋ ๊ฒฝ์ฐ๊ฐ ์์ผ๋ฉด True,
5
๋ชจ๋ ์ซ์๊ฐ ํ ๋ฒ์ฉ๋ง ๋ฑ์ฅํ๋ฉด (unique) False๋ฅผ ๋ฐํํ๋ ํจ์
0 commit comments