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.
This is similar to mine :)
I did mine the same way :)
equal
When you open the solutions and instantly discover you did it the long way, so you scroll through the solutions hoping the solution that's most like yours isn't too far from the top... this is that solution.
thank you
I am an idiot
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The javascript version appears to be calling the function twice, which leads to incorrect numbers regardless. Please fix this!
Please include some test cases that inform us what might be going wrong in our code!
I agree with this. My code works fine until the last random number where it takes too long to run. As a beginner, I have no idea how to fix this so I think it is more appropriate as a lower kyu level if that last part is to be left in.
even if the solution is correct, the code will not pass when tested. The only way I figured this out was by submitting the final code and having it past then. I guess there are no test cases, then?
The test cases do not exist and therefore do not pass but the final submission does.