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 comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Great solution, but seems like everyone assumed the arrays would be the same length, even though it was never stated. Unfortunately there is no test case for it.
This comment is hidden because it contains spoiler information about the solution
You are mistaken. There is no such condition on their length been equal. As long as array B has all the powers of array A, it is a valid array.
I'm happy I got somewhat close to this solution! All my practice is giving results. =D
This is great. I would just add a slice of the signature instead of modifying the original array.
This solution is amazing! Regex is so flexible.
Can't beat the clarity and simplicity of this method. Thx! =)
This comment is hidden because it contains spoiler information about the solution
Clever, but I would definitely not call this a best practice.
That Regex is great! I need to learn more of it!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is great, and there is an even better way of doing it that is more maintanable. Look at Insti solution.
Loading more items...