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
This comment is hidden because it contains spoiler information about the solution
I don't know what to think when see something like this. Of course, it is impressive that a function can be written in one line. It is clearly a display of intelligence. But I also think that the high level languages were created to make programs easier to understand and explain, otherwise we wouldn't need a high level language, we could have just stayed with assembly languages. But of course, don't make me wrong it is still impressive.
I would lean towards having almost anything like this be case sensitive unless explicitly told otherwise. It makes more sense to be case sensitive if you ask me. And the fact that it doesn't say to be case insensitive in the description and none of the tests (random or otherwise) require it to be case insensitive seems to support that.
I think it's a pretty good, concise and readable solution. The task doesn't state that anagrams are case-insensitive. I would only argue that it returns an iterator instead of a list. But casting the returned value to a list solves the issue.
Onelinergasm.
This comment is hidden because it contains spoiler information about the solution
Hello brother. It don't say case-insensitive.
CRAZY STUFF HERE!
This comment is hidden because it contains spoiler information about the solution
Holy crap Batman!
No, stop