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