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.
this should have been 4kyu atleast :D
C#:
Nice kata, but what should be the output for "a"? Is it "a" or "aay"?
On top of that - test cases are not covering at all scenarios with a single letter word in a string nor special symbols cases scenarios (i.e. "A tree" or "go on !").
This comment is hidden because it contains spoiler information about the solution
javascript
language?
This comment is hidden because it contains spoiler information about the solution
yes, this doesn't derserve 6 kyu
Should be 7 kyu
I am now seeing the kata as solved by me.
Maybe due to the passing of all test cases at that time.
thanks ZED.CWT for telling that test cases are generated randomly. I didn't know that.
There are nothing wrong with the kata, it is your code that does not handle edge cases properly.
That is exactly an expected behavior. Test cases are generated randomly so that an uncomplete solution will fail randomly
Can you please just have a look at the feedback?
It is very clear that what is wrong with your code.
This is a question, not an issue.
I can not open the screenshot link.
You can paste your code here, and mark it as spoiler.
This comment is hidden because it contains spoiler information about the solution
I don't know what is the problem with this kata but with same code on different attempts sometimes there are 4 test cases failed or 5 or 6 or 3 even all pass(the number of test cases failed can be b/w 0 - 7)
Once all of them passed but then I removed all console.log()s from my code and now all of them aren't passing.
Each time a different number of test cases pass.
Can anyone help me?
Your solution is the best
best solution,
can't expect anything better than this.
I am a beginner and I am just learning.
Thank you for this solution. It will improve my recurrsion and memoization logic.