LOL i thought that my solution would be unique but it wasnt
per initial condition window<h and not == so result is -1
Nice, even if it appears having issues with cases in which one of the bounces isn't strictly > of window, like this: assertEquals(1, BouncingBall.bouncingBall(2.0, 0.5, 1.0));
Just for fun -- probably not production code ;-)
This comment is hidden because it contains spoiler information about the solution
Very nice, I would just change it to make a copy of input string first
I like the inventive!
Nice, you could also make this a slighter efficent
Loading collection data...
LOL i thought that my solution would be unique but it wasnt
per initial condition window<h and not ==
so result is -1
Nice, even if it appears having issues with cases in which one of the bounces isn't strictly > of window, like this:
assertEquals(1, BouncingBall.bouncingBall(2.0, 0.5, 1.0));
Just for fun -- probably not production code ;-)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Very nice, I would just change it to make a copy of input string first
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I like the inventive!
Nice, you could also make this a slighter efficent
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...