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.
same... this is a useless question lol
you're 100% correct
benchmarks don't really make sense for all questions so it should probably be an option for the question creator.
I'm assuming the person that made the question updated the check after
yeah but shouldn't
arraysSimilar([0,0,0],[1,1,1]);
return false? instead this could also be a valid solutionfunction arraysSimilar(arr1, arr2) { return true; }
not sure why this one passed, but it seems you forgot to call the .sort methods
I would love to see codewars benchmark the answers, but currently performance has not been a requirement. If performance was a concern then i would have opted
for one standard for loop.