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.
OP solved it, closing
they do this a lot. even for enumering primes, they hardcode the fibonacci solutions
Are you sure you're looking at score points and not Honor? You can't see your score points on your profile, you can check your score in the API here.
You would get 21 score points not honor for completing 5 kyu.
This comment is hidden because it contains spoiler information about the solution
it would help you debug your code to run
console.log()
to see what your data is doing. it reveals to you thatsort()
does not work the way you have (understandably) expected it to. meanwhile, the tests are fine. please read this for clarity happy coding!which scenarios exactly? can you give an example of a faulty random test case? what language are you working with?
ofcourse, we have a predefined 26 alphabet-letters..there's no harm