Skip to content

Bug Report for is-anagram #5914

@sriram789

Description

@sriram789

Bug Report for https://neetcode.io/problems/is-anagram

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

Space complexity of O(1) is not possible if the time complexity is O(n+m) as it requires a hash table, the space complexity at worst case can even reach O(n+m) when all characters are unique in both the string.

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