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.
I expected an empty first word to be invalid input.
both
-Foo-bar
and-foo-bar
are apparently supposed to beFooBar
Nevermind I think you're right :) I hadn't noticed that
row
was shared down the board.Agreed. This is not only poorly worded, but breaks with intuition. For most applications, whitespace is whitespace. If you want to differentiate between ' ' and '\n' you should do so explicitly.
This is O(n^3) in the size of the board :(
Your scan is just
(+)