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
isn`t the complexity just N? why n^2?
This would not break anything. The other languages don't test it, but they should. It's just that it's better to state clearly in the description whether the check must be case sensitive or not. I'm inclined to think it should not.
I can update the description if needed. In fact, anyone with a certain amount of points (I don't know how many) can do it, can do many things actually. Do you think adding tests with uppercase letters would be sufficient? Now that I am thinking it, it's not clear whether
ABA
andaba
should be considered as anagrams or not, I believe in general they should, I didn't think of it when I wrote the translation, so your initial approach might be better.Hi. I'm the author of Rust translation. I don't know what should be done. The problem is that most languages don't contain random tests and test only a few lowercase words. The description doesn't specify anything.
Which language?