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.
This comment is hidden because it contains spoiler information about the solution
I think it needs more boundary tests in the fixed submisson tests.
At the moment some are covered for seconds, but not for the other units.
Also could do with boundary cases for removing of excess 0's, like 5100 returns "5.1s" and not "5.10s". These might be caught in Random tests, but not guaranteed to be.
Other than that, thought it was a nice little kata with a clear description.
The sum of elements in an empty array is
0
. Why are they treated as a special case?