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.
same :D :D :D
Read Clarifications part of the description to know how the clients go to the tills.
Totally agree. The kata doesn't say that the fastest customers check out first.
That doesn't make your solution correct. It's very likely that you're using biased and limited inputs, which give faulty solutions (like yours) the appearance that they are correct.
That is false:
Your solution contains a very common beginner's mistake. I recommend taking a deeper look at the failed test case to figure out what is going wrong.
Your code is not case-insensitive. So it doesn't work there either, you just didn't check it with the same input values.
till 1 will serve 2 then 10
till 2 - 3 then 2
total time - 12
You're not testing it properly there.
This comment is hidden because it contains spoiler information about the solution
I tried coming up with some unique ways to call 'hello world!'. Had to settle for the easiest method though :P