Test Cases & Chat
Part 1
current
Test 1
input:n = 4, edges = [[1,0],[1,2],[1,3]]
expect:[1]
Test 2
input:n = 6, edges = [[3,0],[3,1],[3,2],[3,4],[5,4]]
expect:[3, 4]
Test 3
input:n = 1, edges = []
expect:[0]
Choose your coach
Pick a style and how you want to communicate
then
Loading...
OUTPUT
Run code to see output...
Part 1
current
Test 1
input:n = 4, edges = [[1,0],[1,2],[1,3]]
expect:[1]
Test 2
input:n = 6, edges = [[3,0],[3,1],[3,2],[3,4],[5,4]]
expect:[3, 4]
Test 3
input:n = 1, edges = []
expect:[0]
Choose your coach
Pick a style and how you want to communicate
then