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.
For the record, this solution only passes about 50% of the time :(
Approved, replaced yours solution with mine and uncommented those extra tests.
Test cases with one meter are fine. I suggest to include such a test case to Sample Tests also.
It is acceptable to update a kata with someone else's solution. Just add a comment about the reference solution author to the updated test code.
Yes.
No, you can't. (Needs 10k+ honors for that)
(Wait, the linked kata has no random tests, and just one fixed test but yours already has sufficient tests(it needs to be increased though, but I can see your solution is quite slow :/ <3000-4000ms> whereas mine and ZED.CWT's takes around 700 - 850ms), may be we can retire the linked one?
Well, you actually changed the logic, since now you use several times the same symbols in
reel_strip
. That's... unfortunate, let's say.note: you can remove the import at the top of the initial solution
the approver sets the rank at approval time of the beta. For instance: dolamroth
edit: crossed answers.
I set it. 6 kyu is the average assessed rank (and also the highest assessed rank).
I suggest to not rush and firstly ask further advice on gitter: https://gitter.im/Codewars/codewars.com
If you change it now, the rank may as well need to be adjusted.
Changing an approved kata is certainly possible, but NOT recommended unless special circumstances (i.e., broken tests). In this case, latest solutions are perfectly fine, since it's a kata with puzzle elements. IMHO, there is no need to change anything yet.
Now it's in the description, so it is clearer. (And now it is a rule and not mathematics. ;-))
Obviously you are right. :-) Thanks for the very good hint. And now I realized this again. (factorial(0) would be 1)
Ahh, ok. Cool.
If you're plannung to translate your katas to C++, then use the translation editor.
You're solving katas in C++, but your own katas are in C#?
Why? :-)
Great! Thanks for testing again and for telling me about the mistake in the tests!
Loading more items...