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.
there will always be only one or zero occurances of '#' so there will only ever be two strings
spoiler flag, thx...
This comment is hidden because it contains spoiler information about the solution
You may want to have some unit test before you refactor your code. Under a good protection, changing any implementation should be safe :)
If it is faster, why not just give it a shot?
You can't use the logic from the other kata, as it would time out or result in memory issues with the big sizes used in this kata.
Yes, the spiral generation is the same, but in this Kata you don't need to generate the spiral. So i would not call it "just the same".