Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
you actually change input matrix, so test case change itself. If you don't want to change the code you must find the way to copy all contain of the matrix(may be tricky)
max on rows may not be "aligned" with max on cols, to lead to the "global max" on both dimensions. Not sure I'm clear... Thing is, you have the crossing element that is removed, hence my remark.
Maybe you are modifying the input