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 should not be marked as good practise. It has a very bad performance due to it being brute force.
Try running "solve $ replicate 100 [1..100]".
Warning! You will most likely run out of memory and crash the pc. Other more optimized solutions are basically solved instantly.
How does this algo decides if it should be camelCase or PascalCase?
This comment is hidden because it contains spoiler information about the solution
bro, the kata literally has the regular expression tag .-.
This comment is hidden because it contains spoiler information about the solution
You're insane. That's exactly what regex is meant for.
not to sound pedantic, but i feel like importing a module is a bit of a cheat.
Very clever!
Funny))
The mender role typically involves:
What's a 'mender' @dfhwze?
:)
Am I a joke for you?
That's exactly why we should translate the easy kata's to as much languages as possible :)
I can relate strongly. Codewars is great for learning new languages. And the trivial katas are perfekt to take a sneek peek into a random language. Solved at least one on with my phone. No keyboard or IDE needed. Installing a full IDE with testframework and all often takes a lot longer than doing a easy kata.
Loading more items...