Skip to content

Bug Report for majority-element-ii #4850

@ishtiaqa1

Description

@ishtiaqa1

Bug Report for https://neetcode.io/problems/majority-element-ii

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

Image

For this problem it says that the returned array can be in any order, but it says wrong answer when I return [2,5] and the expected is [5,2].

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