Skip to content

Bug Report for three-integer-sum #5182

@jeffreycao1998

Description

@jeffreycao1998

Bug Report for https://neetcode.io/problems/three-integer-sum

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

The recommended space complexity is O(1) but because sorting is required even in the optimal solution, O(n) space is the correct minimum for python at least. I think there should be some mention of this because it threw me off

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