Skip to content

Bug Report for top-k-elements-in-list #4676

@ChaitaliK007

Description

@ChaitaliK007

Bug Report for https://neetcode.io/problems/top-k-elements-in-list

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

One of the testcase is incorrect. For nums[1,2] and k=2, the output shall be [] but its showing [1,2] . I think its incorrect

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