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.
More tests needed, preferably random tests.
Once again, apologies. I had a slight error in my solution which I have now altered, and it should work now?
The test block name is the default one:
returns correct ages for different lists
This happens in both sample test and actual test.
I don't think the numbers match up even in the example:
The total energy spent is
41.666*0.4 + 36.111*2 + 77.777*0.4
=120
.Sorry, fixed that! Also made a slight adjustment to the problem, so that the camel must also return home after delivering the barrel :)
There's a typo in the sample test: 3rd test case should be assigned to
results3
.