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.
In this scenario, he is making 2.5 cakes. The description is super misleading.
It seems that author doesn't gona fix or explain this issue.
I also agree that
{"eggs":1,"flour":200,"sugar":100}
is a correct answer.No, seriously, WTF?
That's exactly what came to my mind!
He just added enough ingredients to bake 2.5 cakes. He has to add some anyway.
I also think
{"eggs":1,"flour":200,"sugar":100}
is the correct output for this case.
also for ruby
And not just for JS. I believe it is no higher than 7 kyu for Python.
I feel like this should be a 7 or 8 kyu for JS.
what am I not understanding about the last test case of the 2nd advanced set: it's responding:
why would the output be empty? the recipe to make 1 cake requiers 400 flour, we've added 1k already, the next neriest multiple is 1200 ? or am I misunderstanding what is suppose to happen?