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.
unpowerful
I don't like this solution because you are mutating the function argument.
Works but O(n log n) instead of the simple solution with O(n)
This comment is hidden because it contains spoiler information about the solution
great job!
is there a reason you decided to 's' into an array, instead of just looping through the string?
I think it's both important to know how to make your own function, AND what tools already exist to get the job done.
You don't need to reinvent the hammer every time you want to build a fence.
powerful
This is the best in my opinion. This has the best readability apart from all others above.
The same way of what I did, but with the shorter way! nice job!!
This is clever and nice use of recurssion.
🚀 nice job!
Code like this is the reason I scroll through here -- code that makes me aware of new things!
Thanks, "cheater"!
Knowing what tools are available is extremely valuable when building real world applications.
And not everyone knows about this library, so I believe this is valuable for people to see.
cheater)
it's art
Loading more items...