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.
You're meant to check if the string starts with a greeting, not if it contains one.. I thought that was what was intended?
Very nice Kata,
Haskell
translation kumitedWell, your solution is better where it matters while being just as clean as mine. There's no arguing against that
Well, apart from the O(n) vs O(1) issue, the code is short, clean and easy to understand.
What does the 'Must be able to store values' message mean?
Would really be great if you explained what the context should be... Or at least where to learn what the context is.
I couldn't find anything on Google myself.
OOhhh, it's bill-based? Not money-based?
^ Why is that even there?
Shouldn't [25, 50, 50] be "YES"?
First customer:
| Customer: €25
| Change: €0
| Register: €0
| Result [Register]: €25
Second Customer:
| Customer: €50
| Change: €25
| Register: €25
| Result [Register]: €25
Third Customer:
| See second customer
...Right?
This... This works. How?