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.
😞
The input data isn't, so it shouldn't.
You didn't modify the input in an earlier step, did you?
The last test from Numbers tests is expecting
[1,2,5,6,7,8,9]
as result but the input data is[9,8,7,6,5,4,3,2,1]
so it should be[9,8,7,6,5,2,1]
.i like your solution! :)
It is enough to check the numbers between
2
andinteger/2
because a divider is never larger.