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.
Description needs to add more explanations and examples to clarify when we are supposed to stop parsing the input string. For example in the second example of basic tests, it returns "BruuJ", "nothing on the bottom line, so parsing should end". However one could easily extend the result by continuing upright with "D", "H", etc., that is following the description ("The message ends when there is no space at the right up or down diagonal."). The same case could occur on the second diagonal if one line is shorter than others, so what are we supposed to do?