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's the recursion that makes it clear.
FindAll(3,10) == FindAll(2,9)+FindAll(2,8)+FindAll(2,7)+FindAll(2,6)+etc
======XX==========1XX===========2XX============3XX=========4XX========5XX===6XX===7XX==...
a+bc <= (a+b)c since c>=1
Same true with the second expression
It will fail with one-letter word
Oh, my! Finally I've passed the test. Hate this last verification!
Thanks for help
This comment is hidden because it contains spoiler information about the solution
I have the same issue.
Actually I don't have for loop and my code uses this "built-in method in JS arrays for finding the index of an element in an array" but I'm getting the error.
I've passed every test but still getting an error: "Your refactored solution did not contain what I was looking for. Keep researching :)"
What is looked for?
I somehow managed to solve the kata, although I still don't understand the description.
Bad kata for sure.
This comment is hidden because it contains spoiler information about the solution
omg, how dump i am!
Second that.
But testing will be a suffer then.
I second that. The solution turned out to be trivial and 8kyu