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.
Done
This comment is hidden because it contains spoiler information about the solution
I saw
SADS
, but changed it toUNHAPPY
instead :PSeems unneccessary to mention the test parameters in the description as they both vary by language and have no performance constraints beyond what are provided by the sample tests.
The print garbage has been purged.
The spoiler flag XD
As far as I can tell it's all async in JS at least on newer Node versions.
I didn't know "it" blocks inside previous "describe" blocks were executed before the next "describe" block. Very interesting, and useful for other kata's.
I added
using namespace std;
to the test code. Now it is not required to add it to a solution..
Yes, there is no performance constraint whatsoever in other languages too.
Approved some time agoo
Your fork should be taken as ref sol imo
Addressed by latest fork
Hi, how many tests there are? I am able to pass 44 of them before it times out... :(
Actually, I really enjoyed this one... I stumbled a long time on how to make it faster... Also finding a coordinate to spiral_number algorythm took me some times... I have to say I wonder why it is only a 5 kyu but I am new that might explain...
Thank you
It was my previous profile (2 kyu). I tried to do every katas just with one-liners but one person commented I am a cheater and he is sure I use a converter which makes those one-liners. I did not want to argue, so I just deleted that profile. Since then I registered this new account with the same email address and github profile but with different name, and I don't make one-liners anymore. Ok there are some exceptions when that is the most logical solution, but that is just a few case.
If you don't believe me that was my account then just check the 8kyu Katas, I have completed all the 8 kyu katas with that account (with this also), so you will find the soulutions of user7807731 at all the 8 kyu katas which are more than 2 years old. I deleted that account just a few months before I moved to Nepal. Unfortunately it was not possible to restore the deleted account, but at least I practice those katas again.
Loading more items...