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.
Please, avoid recursion if possible and in this task it is possible ^^ (loop inside loop too)
You can throw multiple eggs if you want, but only from one floor. Since they are identical, I can't think of a reason to do so unless in (2,14) you just want to throw two eggs from floor 105 at the end so you don't have to carry the last one down.
Huh. Interesting. What are you using
isPrime
for here?thnx! Actually, it was quite a challenge.
Btw, isn't 7x7 skyscrappers or minesweeper a kind of 1 dan?
So cool, thinking that I'm not the only one! ;D (so you just did your first 1 dan. Too bad there is the other way... ;) )
(EDIT: wow, doing it this way in java...! x-D Respect! :) )
Hi Blind4Basics!
Very nice kata! Although it seems I went the harder way )))
Thanks!!
Fixed
"Dropping an egg and seeing if it breaks." -> what does that mean in terms of the function?
"you can throw one egg in a single try" -> that does not answer the question on multiple eggs
Dropping an egg and seeing if it breaks.
> You can throw one egg in a single try.a. what is the definition of a 'try'?
b. what does it mean to throw multiple eggs during one 'try'?
Done
Hi Voile,
Could you pls change in the description (Haskell):
from
"You can throw multiple eggs in a single try."
to
"You can throw a single egg in a single try."
Loading more items...