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.
interesting solution, you reduce the logic of validate the odd, and only use 1 array.
2 loops
use === instead of ==
O (n^2)
is better to use the === instead of ==, for prevent the coersion
In Math "e" is a number, not sure if is a good idea to name it with "e", but your solution is great!
I think this is not a good idea, because, you need check the input twice, but It is elegant
nice!!!
ohhhhhhh!!!!!!