Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contains-duplicate/do-heewan.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ def containsDuplicate(self, nums: List[int]) -> bool:
if len(nums) != len(sets):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

변수명이 sets인 것은 피하는 것이 좋습니다. set은 Python 내장 타입이므로 혼동 위험이 있어요

return True
return False