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.
I feel so sorry for this guy. He solved only 3 problems and left codewars
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.
the author is active, so translations cannot be approved by other users until a week has passed since publishing
Hi trashy_incel,
Do you have any other suggestions to improve the translation?
Thanks,
brodiemark
Java Translation
Apologies - it is now.
not in the sample tests ;-)
Fixed.
the inequality should not be strict:
Done.
I think it would be better to name the describe block
Actual test
instead ofExample Test
, in the actual test case line 5.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! :-)
Loading more items...