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.
I'm not proud of this :(
Very smart solution But I'm not sure it's a good practice. I mean, without context of requirements, with the naked eye or the first impression, it is not clear what the code is doing. What do you think?
O, thanks a lot! I was looking for a bug in the wrong place:)
You have an infinite loop in your code when bounce is 1.
This comment is hidden because it contains spoiler information about the solution
You are right, my mistake. I returned ArgumentException. Sorry for the incoveniences.
You need to validate the input values.
requeriment: Float parameter "window" must be less than h.
But test examples is less or equal to h... so the window can have the same height to the building...