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