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.
Added fixed tests for this case and increased the number of random tests.
Fire all the pancakes and send OP to culinary school
This comment is hidden because it contains spoiler information about the solution
Both approved to match the other languages, but the description still need some elaborations to do
Yes but you cook pancakes one side at a time, so its not the number of pancakes you're cooking; it's the number of sides
this kata made me question my cooking knowledge
You are right! Last night I read through the discussions and realized this kata requires some out of the box thinking. I am getting ready to apply the solution I came up with. Hope it works!
Yes, you are missing something.
"expected 4 to equal 3" should not be possible; it takes 2 minutes to fry a pancake. Unless I'm missing something 2 times any integer will always an even number.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I'd argue that in Python and JavaScript, this Kata is impossible to solve with just the sample tests.
All other languages have more examples, which also include unintuitive cases.
I've added some additional tests here:
JavaScript fork
Python fork
This kata (perhaps) needs some kind of warning against the obvious failed logic of the surface expectation. There's a small chance this warning will prevent the repeated rage posts about how a kata that has been solved a thousand times is "impossible" to solve.
Then again, maybe it won't.
Your self-assurance is admirable. It is also unreasonable.
Yes i agree the kata is flawed for this. I commented this and others replied telling me i was wrong but i am certain the kata is flawed
Loading more items...