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.
resolved, i guess?
That depends on the values tested.
I get Timeout Error but when i test my code,it will be passed.
somebody approved it
This comment is hidden because it contains spoiler information about the solution
Nice to be forced to come up with an alternate way of solving this type of problem.
Thank you for your answer, I'm using Ruby. I can see where I got a bit confused now.
The point is 8kyu is beginner level. Beginners should focus on functional code, and then worry about optimization. Optimization is beyond 8kyu.
Actually, only
15
and15023
are tested in the sample tests and both are odd.But to pass the kata, you have to pass the complete tests, and these will contain both odd and even numbers.
What language is that ? There is no reason to check only for odd inputs.
No, why?
Shouldn't the description state that all inputs / tests will be odd numbers?
Approved by someone
Using one's brain makes sense at any rank.
This comment is hidden because it contains spoiler information about the solution
Loading more items...