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.
Logic of counting time is false. Total waiting time has to be the last customer
s waiting time, but not the sum of all. Because waiting time of previous customers is already counted in the last customer
s waiting time/So, [4, 3, 2] has to be 13 (4+2 + 3+2 + 2), but not ((4) + (4+2 +3) + (4+2 + 3+2 + 2))
"The minimum time needed for all of the customers to wait" is equivalent to
max(subqueue_1_time, subqueue_2_time, ..., subqueue_n_time)
, while "the sum of all the waiting times" is equivalent tosubqueue_1_time + subqueue_2_time + ... + subqueue_n_time
. This statement doesn't make any sense.Probably applies to many translations, though I specifically encountered it in the Lambda Calculus translation:
Zero-time drinks should be explicitly (dis)allowed and/or included in the example tests and/or shown in the failing test message.
Otherwise, a fun kata, thanks.