Thank you for pointing me in the right direction
nice!
What's happening here ?
I think this is what i was trying to do but i gave up after some time and used for loop because I just couldn't do it :D
Another cool recursion!
"Is it allowed to drink here? - No. - But where do all these bottles come from? - They come from people who don't ask." (c)
Grouped in an issue with more languages.
read discuss in bottom | v
This comment is hidden because it contains spoiler information about the solution
I fixed the bug in random test like this:
const _random = Math.random; Math.random = () => _random() + 1;
Tests for JS is very bad: https://www.codewars.com/kata/reviews/54df3072a1b757b06d000050/groups/5be80c1945394b25c10012ab
Difficult but possible: https://www.codewars.com/kata/reviews/58e03f832c99b9c419000631/groups/5bba236eb684d379b1000004
Check your random tests. The error is there.
Also the preloaded testcases help.:)
Loading collection data...
Thank you for pointing me in the right direction
nice!
What's happening here ?
I think this is what i was trying to do but i gave up after some time and used for loop because I just couldn't do it :D
Another cool recursion!
"Is it allowed to drink here? - No. - But where do all these bottles come from? - They come from people who don't ask." (c)
Grouped in an issue with more languages.
read discuss in bottom
|
v
This comment is hidden because it contains spoiler information about the solution
I fixed the bug in random test like this:
const _random = Math.random; Math.random = () => _random() + 1;
Tests for JS is very bad: https://www.codewars.com/kata/reviews/54df3072a1b757b06d000050/groups/5be80c1945394b25c10012ab
This comment is hidden because it contains spoiler information about the solution
Difficult but possible: https://www.codewars.com/kata/reviews/58e03f832c99b9c419000631/groups/5bba236eb684d379b1000004
Check your random tests. The error is there.
Also the preloaded testcases help.:)
Loading more items...