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.
yea, initial value! i forgot this
thank u!
That
n
is part of another expression, and,1
is setting initial value.can u explain please how this works: 'n,1' ?
yes, i got my mistake, sorry
i didn't notice that 50 or 100 is only one bill and used it for example like '100 - 25 = 75'
F# translation :)
All those tests are ok, in the first one you can't give change to the last customer with a 50 dollars bill, the second, the last 100 dollars bill and so on.
Read that again, it seems you're grabbing all the money and then giving the change when you should give change to every customer in the order they come.
This comment is hidden because it contains spoiler information about the solution