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.
ohhh woops fixed, tho its better to shuffle fixed tests?
Added some
No, inlining doesn't have major performance impacts.
Note that I tested some test changes here, so performance is not comparable to the original. ( The optimisations do make it a little bit faster, but reducing the number of tests is the main culprit. )
Fixed the other languages.
Thanks for doing that! Sorry that I have been "out of action". I got distracted by the T20 cricket :-) Hopefully I will have some time to fix the other languages soon.
I am out of town till jun 18. Will fix it when I get back.
Updated, thank you!
In the Discourse of the Kata doesn't take into consideration this problem if you could specify a bit more.
Fixed in latest fork, all above solutions are invalid now.
Done! Thank you for bringing it up.
This is a great question, I hadn't considered this at all! And as currently implemented, the random tests could generate travels with the same origin and destination, so it is worth considering.
I'm thinking that these represent travels (the wording in the description describes them as such) and therefore if you travel from home to home, you still wander outside for a bit, potentially get rained on, then come back. But this is a bit lawyer-y.
We could also say "no location will be the same as the current location" in the description, and amend the random tests so that it is true.
What do you think?
This comment is hidden because it contains spoiler information about the solution
Thanks I'll add such test case in heroic battles and sample tests soon.
Hopefully the merge conflict is fixed now, as I cannot get codewars to display to me what the conflict is, and I don't see it.
sure
Loading more items...