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.
It won't as you can have alias in Python
Well, that just invalidated all solutions, but yeah, I agree it confused me a lot
Hi, may be better to stick to function name
a
instead ofnrecaman
- as it is in description, otherwise some confusion is possible..
Hey, I've published a fork for this kata. It's changes are mostly regarding the description in order to make it more language agnostic.
Please take a look at it, I can revert back any changes you disagree with.
Fixed. You might need to reset your trainer to see the fixed version of example tests.
It only seems to work on node 8
ReferenceError: Test is not defined
Looks like there a error in the Sample Tests. (JS Version)
Ok, someone already found not expected and better solution.
Going to put this kata on hold.
The main part of algorithm, it's hard to explain.
Perhaps changing the description (i has thinking about, " after the processing of ranges and etecetera").
Or just removing the commentary, but it's a helper. Yes is different
N
.O(N)
? But the number of elements in the result isO(len(arr)^2)
, so it must be bounded below byO(N^2)
. Or is this a differentN
from the length of the array?exactly
Ah cool cool. The original description is so obtuse isn't it?
I also figured out some time ago: https://www.codewars.com/kata/6637804bb95494336d6eba73/discuss#6637af6c60745e046b2490f3
I figured it out. But I had to unlock the solutions and read someone else's code to do it.
I've made a suggestion in this discussion to rewrite the instructions, and given my own explanation as to what to do. I hope it helps... https://www.codewars.com/kata/6637804bb95494336d6eba73/discuss/javascript#665dbab905322f7b983a5401
Loading more items...