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.
As far as I can tell it's all async in JS at least on newer Node versions.
I didn't know "it" blocks inside previous "describe" blocks were executed before the next "describe" block. Very interesting, and useful for other kata's.
Very nice kata, kudos ^^
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?
I added
using namespace std;
to the test code. Now it is not required to add it to a solution.Thanks for nice explanation
suggested tag:
combinatorics
.
The rules of the game are not sufficiently described. It is not clear under what conditions there will be a draw. And how, if you have a white bishop, and all the corners are black, then a draw is possible?
Java translation based on existing C translation.
(kata author last seen Jun 2023)
Yes, there is no performance constraint whatsoever in other languages too.
Approved some time agoo
Your fork should be taken as ref sol imo
Addressed by latest fork
It was my previous profile (2 kyu). I tried to do every katas just with one-liners but one person commented I am a cheater and he is sure I use a converter which makes those one-liners. I did not want to argue, so I just deleted that profile. Since then I registered this new account with the same email address and github profile but with different name, and I don't make one-liners anymore. Ok there are some exceptions when that is the most logical solution, but that is just a few case.
If you don't believe me that was my account then just check the 8kyu Katas, I have completed all the 8 kyu katas with that account (with this also), so you will find the soulutions of user7807731 at all the 8 kyu katas which are more than 2 years old. I deleted that account just a few months before I moved to Nepal. Unfortunately it was not possible to restore the deleted account, but at least I practice those katas again.
Loading more items...