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.
This comment is hidden because it contains spoiler information about the solution
The question asks for the highest skyscraper where you can guarantee the highest floor you can drop an egg from. It's possible you cannot even determine if you can throw an egg from the first floor (if you have no eggs or no throws), so in that case you can't guarantee any floors, so the maximum skyscraper height is 0, or no skyscraper. The 'target floor' represents a floor where you can toss the egg from. You can't toss an egg from floor 0 (the first floor is floor 1), but you can report 0 meaning you can't determine the floor for any skyscraper with more than 0 floors.
Actually, it does follow from that statement. It seems (sorry but the description of this kata is extremely confusing) that the "target floor" is the highest floor from which an egg would not break. If an egg breaks from floor 1, then target floor is 0 which is not "between 1 to this maximum height".
no, that doesn't follow from that statement
For the record, I just fixed the test code a bit and enabled Python 2. ;-)
Thanks. Happy coding
^_^
so mark your issue as resolved !
This comment is hidden because it contains spoiler information about the solution
hail your sensei
Thank you both.
there are sometimes "some" delays about solutions showing up correctly in the related page. It's a know "tiny bug" on CW. Generally, all get in order in a matter of a few minutes. These last few days, that was rather a matter of hours if not days (big bug).
I see your solution if I select Python and click Solutions.
This comment is hidden because it contains spoiler information about the solution
haha are you serious about that en passant thing ?
This comment is hidden because it contains spoiler information about the solution
Loading more items...