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.
There should be fixed and sample tests / edge cases which guarantee the final health will be
0
to invalidate such solutions in python at leastThere should be a fixed and sample test where
monsters
is a multiple of 3 (copied from description) in python at leastDescription should be language-agnostic (function naming blocks removed)
Actual and expected are swapped in python
Fun kata with a nice little logic, it's not only about knowing the language.
Just had to set the recursion limit on a huge nomber and it worked for me :)
The tests have been updated with bigger grids after this solution was submitted. It's now invalid.
don't you have any RecursionError issues ?