Its simple. You have to reverse a given matrix.
The problem is really to just reverse a row vector. A row vector happens to be a matrix, but so does a column vector, and two or more dimensional matrices. Saying, "reverse a matrix" is ambiguous.
298 Solvers
340 Solvers
Matrix indexing with two vectors of indices
408 Solvers
245 Solvers
211 Solvers
Solution 1592809
: