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.
Object key-value. I don't want to spoil too much, but think of a way to only run once over each string.
Chrono97 Do you say object key-value or an object array? I've tried arrays, array methods, array lodash methods... same result, 60 test ok, but timeout on performance test.
joh_pot: I think I understand the basic problem in this kata. But at least, str2 must be read one time for chars, and so str1 to check if it have the chars in str2 and in the needed number... surely there is another method that is the one that I can not find to solve this.
I do not want to give up!!!
No they aren't. At least in JS, look at how many people passed it (JavaScript Completions 1401).
If your code doesn't work, then it's not fast enough to pass.
the test cases for this seems to be broken
i dont understand what this kata is asking me