- Notifications
You must be signed in to change notification settings - Fork2.4k
Closed
Description
Bug Report forhttps://neetcode.io/problems/duplicate-integer
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
I have done this same code in IDE (visual studio code), i got correct answer .
answer = None
for i in nums:
if nums.count(i) == 1:
answer = True
else:
answer = False
break
return answer
Metadata
Metadata
Assignees
Labels
No labels