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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The aim is to have the most cards at the end. Not take the most of them each turn.
Sometimes it's better to just take one.
Remember the instructions : Bob also tries to play optimally.
In your case, Bob could take 9 cards by playing it smarter so Alice would be able to only take 4 cards.
Putting a performance test at the end trully is a dick move. At least it should be announced in the instructions.
Impressive, but absolutely unreadable =)
This comment is hidden because it contains spoiler information about the solution
This is a great example of "this works but please never do that".
Damn, forgot my console.log... worst practice guys !
Neither did I. It's nice !
Simple, clear and readable. Nice one !
Clever solution but the syntax could look better. Using single letters for parameter/variable names is a bad pratice.
This is not really "basic math", more a math joke.
Agreed. This has nothing to do in 7 kyu.