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.
Please disregard the last comment. There was a bug in my code. All tests passed now, thanks for the nice Kata
This comment is hidden because it contains spoiler information about the solution
Hmm, I see. I assumed that we could break the money, if we needed so. I'll give it another go then and let you know.
All cash can't be used as change. You cannot just split a 100 into 25s in order to return it as change. A 50 may be used if the customer gives you a 100. A 25 is always useful. Your code just counts the total cash you have.
You can print the input to your function.
No, the answer would be "NO".
There are 5 25s the clerk gets. You need 6 25s to make change for the 2 100s you will get at the end. There isn't enough change.
This comment is hidden because it contains spoiler information about the solution