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.
The statement is confusing, the situations that must be considered are not exemplified correctly. It contributes little considering the time it took me to reach the correct solution
This issue has been fixed by author, closing
Please make up your mind.
Added.Thanks for feedback!
Specs about behavior of wind in case its strength is equal to that of next house are missing from description. We need to scrape comment section to find out.
I can't find that statement anywhere in the specification of the kata.
why isn't this logged as issue? ah wait, it is discussed in other comments
probably same issue:
Looks like they've been removed
Looks like there have been an error in my code. Thanks for feedback! Fixed
Tag
binary search
is not needed anymore as reference solution has since changed to a different algorithm.Array size is at most
50
. Why is there aoptimization
tag?Reference solution fails when the tallest building has more than one occurrence:
The highest building is
991
, so992
will topple every building. This is a trivial upper bound.Wind doesn't go through buildings. When a house breaks, it “stays in place” and therefore it takes + wind to knock it down so the wind can pass through.
Could you explain this test?
Why isn't a wind strength of 9 sufficient?
A wind with strength of 9 is enough to collapse the first house. It doesn't matter that the first house does not fall onto the second house because the wind is already stronger than all the remaining houses.
Fixed
Loading more items...