Test Cases & Chat
Part 1
current
Test 1
input:numCourses = 2, prerequisites = [[1,0]]
expect:true
Test 2
input:numCourses = 2, prerequisites = [[1,0],[0,1]]
expect:false
Test 3
input:numCourses = 1, prerequisites = []
expect:true
Part 2
locked
Part 3
locked
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:numCourses = 2, prerequisites = [[1,0]]
expect:true
Test 2
input:numCourses = 2, prerequisites = [[1,0],[0,1]]
expect:false
Test 3
input:numCourses = 1, prerequisites = []
expect:true
Part 2
locked
Part 3
locked
Choose your coach
Pick a style and how you want to communicate
then