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.
crazy clever!
This is a thing of beauty. I've grown as a programmer seeing this brilliant algorithm.
there is no need for a ternary operator since return already returns a boolean value (true or false)
Regex to the rescue. Most times brings you clean, simple and readable solutions like this to table. Well done!
This solution is animal. Can anyone read this?
very nice solution. absolute beautiful.
I liked your solution, as all the solutions to this kata takes time to understand but in my opinion it is what has the best readability.
I do not agree with you. In english, space char is the word's separator. An anagram is a WORD that can be mixed to create another. So, in 'E h llo' there are 3 differents words.
If you consider 'E h llo' as string, and not as a word, spaces are part of this string.
To me, if this issue is not specified in the instructions, your exemple should return false by default.
Just an opinion
This comment is hidden because it contains spoiler information about the solution
Amazing!Collected it.
my solution is one line.
DRY
This comment is hidden because it contains spoiler information about the solution
no need of ternary operator, just compare t&o it'll return a Boolean
True, they are useless here. Just return the result of the comparison.
Loading more items...