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.
Thanks for creating this kata! Very impressive testing.
Suggestion: Change "he" to "they" in the description. Not only males play Reversi (Othello).
It would be fun if the performance of the user's code compared with the reference implementation was displayed.
Hi trashy_incel,
Do you have any other suggestions to improve the translation?
Thanks,
brodiemark
Java Translation
Apologies - it is now.
Fixed.
Done.
It would be helpful to either add some small random tests, or provide a message that identifies the first element where actual differs from expected. Currently, if actual and expected are almost identical, debugging is quite difficult.
Python Translation
Please check my fork. The issue of many tests expecting 0 is because the available ingredients are not guaranteed to include the ingredients from the recipe. This seems to be the case in Python and maybe other languages as well. Anyway, I did fix it by making sure that half the time the available ingredients include a random sample from the recipe. "half the time" can be easily modified to be any other desired fraction.
Python Translation
This delightful problem should be translated into as many languages as possible! :-)
The sample tests seem to imply that climbing the first mountain costs no energy. This seems odd. Don't we start at height 0?
If you mean this one, https://www.codewars.com/kata/51fda2d95d6efda45e00004e , it's quite different.
The closest one I found was https://www.codewars.com/kata/57d28215264276ea010002cf
I lessened the testing. Your solution passes comfortably now.
Very cute problem - thanks!
AxB doesn't need to be provided, although I appreciate doing so creates a certain symmetry.
Cute problem!
It is a lot of text to read for something that turns out to be quite short to solve. I wonder if it can be extended to something harder?
Loading more items...