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]]
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]]