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 comment is hidden because it contains spoiler information about the solution
Well, I tried to move bits from preload to test case and it works too. I am wondering if there is a way to call author's solution in the test case so that there would be no need to duplicate the implentation.
Thank you Voile, it seems the author's solution can't be called in the test case, I just have no idea how a ramdom test should be implemented and preload seems work for me. I would be appreciated if you have any pointer for the guidance :)
Thanks for the kata, find some past memory on embedded development ;)
Not as hard as other 2kyu katas, just from my angle though.
Maybe there is issue in the random tests, my first attempt passed, but noticed a random test failure which never showed up again before I submit the final solution, I am pretty sure it's nothing to do with my code change, for I just remove some prints and redundant code, and there is only one random test failed.
Stucked at 132 (Python) for a long time, I am convinced that math library is required right? Just want to make sure I am heading the right direction.. only if I can kick off that import :(
Have fun with it, it would be good to add random tests since I saw there is a solution that returns fixed results just to satisfy the test case..
This comment is hidden because it contains spoiler information about the solution
The initial template code for python seems strange, there are several concatenated string substitution which removed the space in the decoded result.
Thanks for the quick response, that's great!
btw I was training with python.
The description says "Because of the edge-cases for tiny spirals, the size will be at least 5.", but actually size >= 0 are used in the tests.
It would be nice to update the description accordingly.