Skip to content

Bug Report for duplicate-integer #3986

Closed
@laxmansingh2397

Description

@laxmansingh2397

Bug Report for https://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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions