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.
NOTE 2: The 0x0 (empty matrix) is represented as en empty array inside an array [[]].
description clearly states what to do with such input (it probably was added after all those comments), so there's no issue with kata in this regard.@FArekkusu Could you emplain why? :/
Not an issue, everything works correctly.
Not a question.
I was stuck on this for a long time because instead of an exception I was getting a timeout... my code went into an infinite loop because the "empty" matrix has one row of zero elements, which is NOT a square.
The answer should be an array with an empty array on it for the empty matrix
I see. Thank you.
See the last 2 (and many more) posts on this page. This kata has a very strange definition of how an empty matrix should be represented.
IMHO the kata is broken.
Issue with C#. The way I understand is that if the matrix is empty - an empty array should be returned. I do that. All tests pass except for the SnailTest2Empty one. Keeps telling me that "Index was outside the bounds of the array", which isn't true. SnailTest2Empty works perfectly on my local tests but not here.
I see a picture from one of my favorite games and meme/pun next to it - instant upvote! :D
(Unless you are asking seriously?)
You want...
... Sum Strings?
It made me horny as fcak