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.
Thanks a lot. After thinking a bit more about my solution I found that I checked some cases several times. Now my solution works and finishes the test also in about three seconds.
I am currently trying to solve this Kata using Java. But my code seems to be way to slow. I am only able to get one fifth through the random test of 500 examples. And right now I have no more ideas to make my code seriously faster. What I have found out is that especially the unsolvable examples of widths of 100 are consuming a lot of time. Have others also encountered such problems?