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.
No kidding.
Wow. My code solution is super long compared to the top ranked code. Me must reads more...
Looks like the test case does work. 1st and 2nd customers have $25 exact (2 $25 bills in hand), 3rd customer gives $50, change is made, this leaves 1 $25 and 1 $50, then $100 is paid by 4th customer, change on hand is $75 total.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution