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.
Slightly better explanation of the exercise:
On the street there is a camera which records a video of X metres of the bottom of the building.
How many times total will the camera record the ball fully enter its point of view (during falling) and FULLY exit out of its point of view (during bouncing)?
Yea, I just got it. Thanks for the quick comment. I saw lots of other comments mentioning the same and had sample tests all passing, but was missing the equals on the bounce compare. When I tried the #1 solution I realized it had to be something on my end.
Your code has an infinite loop, check how you're validating the input. Not a kata issue:
JS passes all test but times out on submit.