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.
Fibonacci sequence is specified as
1, 1, ..
, but index is not specified as 1-based with this Fibonacci sequence. ( It would make sense to switch to 0-based indices, like almost all programming languages use, and the0, 1, ..
-based sequence. This would not invalidate existing solutions. )The example tests have no tests with small indices. This would help find off-by-one errors early and easily.
"getLastDigit()" function name in the describe block, but in work and test space had "getFibNumb()" function name.
This is minor issue, but still.
P.S. Thanks for good kata.