Skip to content

Bug Report for permutations - incorrect space complexity #4670

@camtamsox

Description

@camtamsox

Bug Report for https://neetcode.io/problems/permutations

The recommended space complexity is O(n), but all of the solutions have a worse space complexity. I believe the recommended space complexity should be O(n*n!).

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