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 kata took me all day.
This comment is hidden because it contains spoiler information about the solution
I learned to optimize my arithmetic operations with the use gmpy2. (good to know)
And I learned to read extensively the problem description and follow instructions. (very useful)
I also learned abour Krunner-Dunning effect. (deja vu)
Extremely detailed tests, and well explained.
It is very good.
A lot of subleties and small traps.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Good problem!
This comment is hidden because it contains spoiler information about the solution
Just need to find the correct regular expression.
Too good!
The sympy (symbolic math python) module would also work, but infortunately is not included in the python modules of codewars.
The trick is that you can solve it without understanding the problem.
Just check at the suggested answer and produce an algorithm that will produce the expected answer.
It's a no-brainer.
5 kuy, that was generous!
The use of frozenset speeds up the executions: 74.3 µs with a string vs 62.2 µs with a frozenset.
Loading more items...