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.
No, the first drop will be at a level that provides you have a full coverage of all floors below in the worst case scenario i.e. all egs will brake one after another.
If the first egg brakes, the seacond drop is not in the middle of all levels below. It's closer to the bottom, than the top (level the fist egg broke). So, the spacing is not halved at every attempt as one may think.
total tries
As I said, your solution is inefficient. It can be at most 1.5 times slower to pass the tests while yours one is 2.7 times slower (in the worst case).
do you realize that the array isn't sorted?
Your solution is inefficient.
Print a message which would specify what function is being run.