Skip to content

missing_number algorithm dosen't work as intended (bit_manipulation/missing_number.py) #10357

Closed
@jamestitus299

Description

@jamestitus299

Repository commit

d0c54ac

Python version (python --version)

Python 3.12.0

Dependencies version (pip freeze)

setuptools==68.2.2
wheel==0.41.2

Expected behavior

for array [1,3,4,5,6] the output should be 2

Actual behavior

the output got is 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions