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.
Not sure you can do much different than that...
what they want is the position in the array not the value.
ex:
In this case the number
5
is the odd number and it is in the third(3) position.The test is ok. Please read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
hi the second test on the java version has a mistake, it should return true.
proof: