Test Cases & Chat
Part 1
current
Test 1
input:n = 5, edges = [[0,1],[0,2],[0,3],[1,4]]
expect:true
Test 2
input:n = 5, edges = [[0,1],[1,2],[2,3],[1,3],[1,4]]
expect:false
Test 3
input:n = 1, edges = []
expect:true
Part 2
locked
Part 3
locked
Resume a session
Loading sessions...
or start fresh
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 = 5, edges = [[0,1],[0,2],[0,3],[1,4]]
expect:true
Test 2
input:n = 5, edges = [[0,1],[1,2],[2,3],[1,3],[1,4]]
expect:false
Test 3
input:n = 1, edges = []
expect:true
Part 2
locked
Part 3
locked
Resume a session
Loading sessions...
or start fresh
Choose your coach
Pick a style and how you want to communicate
then