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.
Number of bouncing can be even. What if after first bounce the height of the ball become equal window?
Example:
h1 = x (x > window)
h2 = y (y == window) (h2 = h1 * bounce)
So, the result in such case should be be 2!
In spite of this your solution a realy greate!
Agree! Great solution from you, @Jesus_Like.