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.
ok
Pretty similar to this
Yeah; in fact, this particular approach relies on that.
Your code is returning the elements at
even
andodd
indices respectively whilst the task asks to returneven
andodd
numbers respectively.That is true. I should use a map instead. But I was a newbie when I solved this. :-D
2 -> 3 -> 4 -> 5 -> 8 -> 9 -> 11 -> 19 = 61
Make sure you select
Node JS 14.0
at the top of the trainer page.Check the first sentence of description. 70207 is a palindrome.
I've rewritten the tests in JavaScript, hope it's clearer now.
We don't know what you are printing, but tests are correct in Javascript. And if this is not the language you are using, you should state it first, among other things. However, this is absolutely not the proper way to raise an issue. An issue is a bug in the kata, you need to give clear proofs that something is wrong. Please don't raise issues so lightly in the future, and read carefully this: https://docs.codewars.com/training/troubleshooting/
fixed
Yup this error shows up even when every tests succeed.