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.
The optimal solution I was looking for before I just brute forced it. Well done.
This comment is hidden because it contains spoiler information about the solution
fixed
Python tests log to console, also needs new test framework etc.
That's 20 1's and 10 2's. 20 + 20 = 40 total.
We increase to size 2 after eating 4, so there's 36 left
We increase to size 3 after eating 8 more, so there's 28 left
We increase to size 4 after eating 12 more, so there's 16 left
We increase to size 5 after eating 16 more, with 0 left
Should maybe specify in description whether or not, when a fish is eaten, any "leftovers" from that fish not needed to attain the next level can contribute to getting the next level, or if the whole fish is lost in growing to the next level so that only the next fish can begin contributions to the next level. It appears that the former is true.