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.
You shoudn't use lambdas inside
map/filter/reduce
: a list comprehension is always recommended when you don't already have a function.If you really want to use
map
, then usedict.get
I think this kata asks the maximum height that can be evaluated by n eggs and m trys. In other words, with a higher skycraper, there is no strategy to locate the exact floor through n eggs and m trys.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Is this solution shorter or clearer? No, it's not! :-)
wow