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 true that handling of spoiler posts has some flaws, but your question is still visible to people who solved the kata (and they are probably the users who can help you the most).
If you have problems getting help here, or simply don't like it, you can also try
#help-solve
channel on Codewars Discord.I just did.
You really don't need that inner for loop, try replacing that. (you're not using ordering property of array)
Reply to that comment, you can see the post.
Great for you, good job! Now off to the next kata! :)
I do not know what language you are trying though, and I guessed (and assumed) JavaScript. If it's not JAvaScript, it would really help if you told us what language you are trying.
This comment is hidden because it contains spoiler information about the solution
I don't thik that's what happens. I can see your code fail sample tests too, including this one:
Test.assertEquals(scramble('javscripts','javascript'),false);
We don't know either. Judging by collected evidence, I think the kata is OK and your code is wrong.
Please go through this FAQ and see if you find something useful: https://docs.codewars.com/training/troubleshooting
I am closing this issue because not enough info. Feel free to re-raise it when you are sure your code is correct and provide at least some information why you are sure that there's problem with tests.