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.
It lacks random tests, so I guess it wasn't approved because of that (not that the author has requested them either)
where is Ruby translation?
I hate python solution and for 50(fifty) elements it took 0.4 seconds to get right solution...
So i want to say that you need optimisations... A lot of optimisations =)
Yes I am sure there are no errors in the tests because they are the same in all languages and guys succeeded. I saw and tried your solution. It passed the "Run Tests" but for the "Submit" part it took more than 6000 ms. Your solution seems correct but too slow for all the tests in the "Submit" part.
The tests are the same in all languages.
I tried again my solution which needs about 2000 ms. No solution shows up even mine... I think it is some kind of bugs at CW; it is not a proof that no one passed the kata in Ruby! Only one cheated solution is shown.
There are 27 fixed tests + random tests.
You have to optimize a lot your code because this kata is very demanding...
Please which language? Wrong tests are stopped once they fail so I think it takes a shorter time.