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.
That sentance is about the output format.
My comment is asking about the input format. One of the examples is
"24:01:01" -> "00:01:01"
.this part has been added or you've missed it -->
Time is formatted using the 24-hour clock, so from 00:00:00 to 23:59:59.
approved.
CoffeeScript translation
approved.
not a good practice but acceptable for this kata..
Authors solution also does so, so I assume this is okay.
Scala translation
My solution mutates the original input. Just wondering if that's actually acceptable?
I genuinely am shocked this is fast enough.
Love the active pattern. Nice find.
Solution is a bit greedy. I suppose more cases means less stack calls.
Really do NOT love overly math-y problem in bash. Literally the wrong tool for the job. Oh well, I got some experience with
bc
syntax I guess.This comment is hidden because it contains spoiler information about the solution
Too late to modify the description and all the 38 translations; furthermore finishing a cabbage doesn't need more than 24 hours :-)
JavaScript needs a test case where the total time is more than 24.0 hours. This might invalidate several solutions.
Loading more items...