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
javascript
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.
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.