Test Cases & Chat
Part 1
current
Test 1
input:matrix = [[1,1,1],[1,0,1],[1,1,1]]
expect:[[1,0,1],[0,0,0],[1,0,1]]
Test 2
input:matrix = [[0,1,2,0],[3,4,5,2],[1,3,1,5]]
expect:[[0,0,0,0],[0,4,5,0],[0,3,1,0]]
Test 3
input:matrix = [[1,2,3,4],[5,0,7,8],[0,10,11,12],[13,14,15,0]]
expect:[[0,0,3,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]]
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:matrix = [[1,1,1],[1,0,1],[1,1,1]]
expect:[[1,0,1],[0,0,0],[1,0,1]]
Test 2
input:matrix = [[0,1,2,0],[3,4,5,2],[1,3,1,5]]
expect:[[0,0,0,0],[0,4,5,0],[0,3,1,0]]
Test 3
input:matrix = [[1,2,3,4],[5,0,7,8],[0,10,11,12],[13,14,15,0]]
expect:[[0,0,3,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]]
Choose your coach
Pick a style and how you want to communicate
then