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.
Apologies for the late fix, the test cases should now be working properly :D
Why isn't this kata being fixed, or updated to include the ability to solve it.
It means your code is running a bit too slow and it timeouts. You need to tweak your algorithm to make it faster.
I am getting below error..Can you please tell what I am missing?
Big boy is here
Test Passed
Process was terminated. It took longer than 6000ms to complete
24 Passed
0 Failed
0 Errors
This comment is hidden because it contains spoiler information about the solution
this table should be in the description :)
Ok, here are some clues: Try to understand exactly how loops in JavaScript work and what could cause the error. Try to analyze all involved JavaScript objects. Experiment with your own loops and try to produce a similar bug. Use the test output cleverly to debug the program.
I've tried aliasing, overwriting, spy - nothing working etc.. is there any clue one can give here?
maybe the author should say that 'the order is doesn't matter.'...if you consider the order ,it will become more complicated
thanks - I'm getting the requirements now :-)
That "last 25" does not exist. How does a single 100 give you a 25? See table below:
I'm a bit confused. I thought I understood the needs of the kata,
[ 25, 25, 25, 25, 25, 100, 100 ]
Expected: NO, instead got: YES
Shouldn't this be "YES"? as we use 3 x 25 for change for the 1st 100. That leaves us with: 25, 25, 25, 100. We got that "last 25" from the 100 that we gave change for. We now have THAT 25 in the till... so, with the 2 25's, can't we now give change for the last 100?
Please advise.