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.
oopsie! sorry about that. will check that :(
9th and the last test cases are failing for the JavaScript submissions. I wonder if any test case issues. Wonder if anyone completed the js version?
Hi, I am facing same problem as above. 9th and the last testcase is failing during the attempt. Seems weird as it most of the test cases and there is no mention any other condition or criteria in the question.
Thanks for the hint :P
I will try a fresh set of eyes. God, I've spent some time factoring the code.
:D
Initial tests in the example test cases passed but on submitting it fails with following error:
Process was terminated. It took longer than 8000ms to complete
I am using The Sieve of Eratosthenes for generating the primes. Anything wrong with that? Or just the servers having a bad day?
Did the same way but your's look much shorter and mine too lame. Kudos!
Simple yet so cool. I think overcomplicated it in my solution :(
This is awesome!
It would be nice to see what the testcase is and why is it failing? I feel my solution fulfills all the criteria.
While training on python version of the solution:
got following error:
Smart. I like the way you are returnig the list after slicing it. Does it mean it will go through the entire dictionary? Not very performance oriented?
Suggestion would be to break once you're done with 5 results
This will not work for dictionary which has a work with Capital letter in middle example
dictionary = ['tRy','aPPle']
while searching with try since specifically capitalizing it. Good approach would be to convert the input and the dictionary values to lower or upper case.All good I believe.
Fixed.
Loading more items...