Skip to content

Bug Report for count-connected-components #5994

Description

@MustafaAH10

Bug Report for https://neetcode.io/problems/count-connected-components

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

ai <= bi for any edges[i] = [ai, bi] but one of the test cases is

Input:

n=2
edges=[[1,0]]

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