Skip to content

Bug Report for hand-of-straights #5118

@tejaswinikannan

Description

@tejaswinikannan

Bug Report for https://neetcode.io/problems/hand-of-straights

This isn't a bug. But just a suggestion.
The solution provided using HashMap has a time complexity of O(n) instead of O(n^2)

Image

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