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.
Tests have been updated
Not sure that copying every single bit from standard library will be helpful
Yeah, it all makes sense. @Voile apologies for being overly defensive. Shouldn't have been answering to the comments in the middle of the night.
Not even trying to convince. Just pointing out that the rule that not enforced autotaically and has exceptions can not be mandatory.
Thanks for the implementation. I see how tests should be updated to handle the 'hash' cases properly
it is not mandated for every kata, see "Under some rare circumstances, it is allowed to use so-called randomized tests instead of fully random ones."
Terminology is quite weak in this section of documentation. I doubt that it is expected to have truly random tests instead of tests with randomised testing values.
I will update the tests, making the basic ones (visible to user) with only fixed inputs. And extended version with randomised inputs, duplicating existing ones. Even though the solution passing all the already provided tests will be laborious enough to be seen as actually showing the skillset reauired to solve this kata normally.
Yeah, of course. Totally forgot about it
Yeah, inheritance from list or array might be better, but it leads to the situation, when Vector have some functions, that looks wrong (i.e. append or pop in context of vector have no sense)
What about input restrictions? Solutions for small integers would be completely different from big ones.