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.
This kata was a lot of fun! I am proud of my solution, as my recursive algorithm turned out to be many magnitudes more efficient than I hoped. I track both the time and the number of calls into my recursive worker function. Here is one of the worst results I saw:
Now, I need to rework all references to constant sizes to make this solution work for all the other kata like this one ^_^
I have been trying to solve this problem with Java and ran into this same problem. I currently have 220 passing tests and 10 failures. All 10 failures are related to this flaw. I am not able to see the tests' code, so I cannot see what is actually being checked. I tried giving my exception classes with messages that matched the expected unclean termination exception messages, but they are apparently not checked. I thought it might be expecting it in the OutputStream objects, except I discovered that every test of this category passes a null OutputStream.
I am inclined to conclude that this problem's Java test suite was broken at some point in the past and never fixed. The fact that I am replying to a two-year-old comment that was never addressed is incredibly discouraging.