feat(content): hidden test cases

This commit is contained in:
2025-08-06 23:21:42 +01:00
parent 72f7833c6c
commit a1a4eeaed7
134 changed files with 2075 additions and 0 deletions

View File

@@ -25,6 +25,14 @@ test_cases:
expected: [[2], [1]]
- input: { adjList: [[2, 3], [1, 3], [1, 2]] }
expected: [[2, 3], [1, 3], [1, 2]]
- input: { adjList: [[2, 3, 4], [1, 3], [1, 2, 4], [1, 3]] }
expected: [[2, 3, 4], [1, 3], [1, 2, 4], [1, 3]]
- input: { adjList: [[2], [1, 3], [2, 4], [3, 5], [4]] }
expected: [[2], [1, 3], [2, 4], [3, 5], [4]]
- input: { adjList: [[2, 3, 4, 5], [1], [1], [1], [1]] }
expected: [[2, 3, 4, 5], [1], [1], [1], [1]]
- input: { adjList: [[2], [1, 3], [2]] }
expected: [[2], [1, 3], [2]]
description: |
Given a reference of a node in a **connected** undirected graph.