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.
The task description is formed in a way that makes it very hard to reason about it. Instead, it should be something like "all other strings are anagrams of each other, if you don't take the count of character occurrences into account." Or else it's hard to say, for input like ['abc', 'abd', 'xxx'] what should be the answer? Reading the kata description one might think that 'xxx' is, as 'abc' and 'abd' have similar characters. But in reality, this input is invalid for the problem.
So instead of addressing the issue, the comment is just being downvoted. Nice! Keep it up!
Judging by the fact it hasn't been solved in 4 months and no feedback given to your comment, it seems that nobody really cares about those corner cases. :( Although they render a good portion of solutions plainly wrong.
There's also a really interesting one edge case: (2^26 + 1)^2 - 1. Solutions that test for fraction part of sqrt() to be zero will think it's a perfect square.
This comment is hidden because it contains spoiler information about the solution
Thanks. Nicely hidden.
I can't understand where should I get my referral link from... Can someone help me out?
This comment is hidden because it contains spoiler information about the solution
AFAIK, all the elements with 3 symbols long names are not even synthesized yet, but in theory they may exist and be stable. Nevertheless, I think such test cases would be a nice addition.
This is, by far, the most interesting kata I solved!
And the test cases are really marvellous.