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