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.
come on codemirror, highlight this thing.
lol. omg
You broke syntax highlighting
When [[1,2],[3,4],[5,6]] passed, it should return nil, but solution witch returns 4 passes all tests.
Yes, I think you're right. My solution is bad.
Wait a minute. As far as I can tell, this returns "4" for center([[1,2],[3,4],[5,6]]). I was under the impression that in order to have a single center, all matrix dimensions must be odd in size, so there shouldn't be a center for [[1,2],[3,4],[5,6]]. I assume the test cases are lacking here?