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.
Hey there,
thanks for this nice kata.
Is it possible that there is test case missing in your test suite that checks whether
isAN(0)
returns true?I am asking because I was able to produce a solution that passed your suite but returned false in that case.
Cheers
Hey jmusto,
thanks for your answer. You are right, I missed that instruction. I got it to work now :)
If you don't mind I would like to suggest you to put the instruction somewhat clearer by saying "if n is larger than values.length, simply include all values to the sum"
This comment is hidden because it contains spoiler information about the solution