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.
Bruh
This is an elegant solution!
My preferred solution, the most readable in my opinion.
This comment is hidden because it contains spoiler information about the solution
I had a great time solving this Kata, thanks!
For python, it would be nice to put
hash_
for the first argument name ashash
is a buitlin in cause, causing shadow namesC translation (author gone)
Great Kata! I advise you to solve it in Python, it will be easier and cleaner. And if you've never touched Python before, it's a perfect Kata to start with.
This comment is hidden because it contains spoiler information about the solution
Does not work every time
If one of your
s.match()
returns null, the Array.length property access will cause an errorBut your way to find the special characters is clever!
Elegant in the way of writing Javascript
( JS )
The reference solution is a mess of undeclared variables and changes its inputs. User can also modify inputs.
Wtf?!😂😂😂
wtf
I just finished the JS version without issue and my sorting is correct. I'm going to resolve this issue and conclude that it's very likely an issue with your code @EKrionasLamprou
Loading more items...