What does that exactly means?
The problem states:
Write a function to invert a two dimensional array.
Does this means reversing each row of the matrix?
Printable View
What does that exactly means?
The problem states:
Write a function to invert a two dimensional array.
Does this means reversing each row of the matrix?
I think they want you to switch the two dimensions, i.e. a[1][2] becomes a[2][1] and vice versa.