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 is by far the most readable and clear solution
Thanks for your reply. As expected it was performance issues. Test 30 seems slightly too complex to brute force as I was trying ;)
Here is the log of my code(3 times ran):
So, if your code got timeout, please check it about performance ;-)
This comment is hidden because it contains spoiler information about the solution
Now it passed. I paste the code from another code editor and it passed. I'm pretty sure that you said above was the answer of the inconvenience. Thanks for asking.
That's the same as mine and it worked fine. Make sure you have no new lines or spaces after that, it seems it counts that as more chars.
Taxes? ;)
Seriously talking it counted my code length right, do you have some weird char or something?
My code has 24 characters and the test counts 30. Why?