Test Cases & Chat
Part 1
current
Test 1
input:root = [3,5,1,6,2,0,8,null,null,7,4], p = 5, q = 1
expect:3
Test 2
input:root = [3,5,1,6,2,0,8,null,null,7,4], p = 5, q = 4
expect:5
Test 3
input:root = [1,2,3], p = 2, q = 3
expect:1
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:root = [3,5,1,6,2,0,8,null,null,7,4], p = 5, q = 1
expect:3
Test 2
input:root = [3,5,1,6,2,0,8,null,null,7,4], p = 5, q = 4
expect:5
Test 3
input:root = [1,2,3], p = 2, q = 3
expect:1
Part 2
locked
Part 3
locked
Choose your coach
Pick a style and how you want to communicate
then