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.
handled
too late, resolved.
2 years later... the test cases are locked, so it cannot be updated anymore... (added it to the example tests, though)
If you want to catch anything and you don't care about what the actual exception was you can use:
I saw it in a few different kata's solutions. I had the same question.. Correct one is to use substraction.
No way in javascript to get something like python's
partial(operator.mul, 2)
or(2).__pow__
?In javascript for now it's not reverse an array like http://www.codewars.com/kata/array-dot-prototype-dot-reverse/javascript it's return a new reversed array.
JavaScript is the best.
Very nice!
There is a way of course.
Thanks. Not in formulas in wikipedia?
Please add to python version:
test.assert_equals(alphanumeric("hello_world"), False)
to eliminate incorrect solutions with
\w
regex class.Shame on me but it cost me a few sheets of paper to get the O(1) version..
No difference but E(1,n) of course..
Yea.. Python version is totally broken..
Loading more items...