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 was a very interesting kata. I liked it. for Js, pay close attention to the second argument, if and when stuck.
This comment is hidden because it contains spoiler information about the solution
Rearranged means you have to work with what you have, not create another thing. So you can't rearrange
alas
to formsalas
, but the opposite is possible. The kata works fine for javascript (remember to mention the language when asking for something).Could the kata be revised with more detail. From intercation with it, I have close to 4 solutions that passed the first test cases but would give me random passes on submission. I believe this is due to the fact that, 'silently', the code should work under the assumption that a letter in str1 should not be used twice. This would be a very concise addition, moving forward.
first attempt at this, hacks are welcome