Skip to content

Bug Report for k-closest-points-to-origin when dealing with complex outputs #5618

@ayushp0728

Description

@ayushp0728

Bug Report for https://neetcode.io/problems/k-closest-points-to-origin

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.

Accidentally computed distance with the wrong exponential function in python, resulting in a complex output. Attempting a submission with complex outputs (wrong answers) led to a response failure.

Http failure response for https://neetcode.io/api/executeCodeFunctionHttp: 504 OK

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