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.
Not sure why this gets votes for best practice. Use of poorly named variable
i
. Uneceesary assignment tone
- another poorly named variable.prev
actually represents population, also not necessary for assignment could just reusep0
(which should be renamed tocurrent_population
)add example tests
Need some better example tests
exmple test in ruby uses Camel case rather than snake case for method name. Possible example test for "Pass" case.
ome example tests would be nice
example tests not set up properly
requested output in description is different to that required in the tests