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 comment is hidden because it contains spoiler information about the solution
kata hint != kata suggestion
do not attempt this with loops or lists
Oh yeah baby, this is my type of kata, math. I can finally use my endless hours of math work to gain some internet points.
You gotta use MATH.
This comment is hidden because it contains spoiler information about the solution
loops don't work, even tried recursion, doesn't work for big inputs, i think there is a very simple way you could do the Z(n) part, but how, i don't know
Added
And what about
d
?Added
Input size/range should be specified: there is a non-trivial performance requirement.
I think its fixed now. Evaluated expected first.
https://www.codewars.com/kata/reviews/64e8bef4f2580c000173fe8c/groups/64e8c58355f3cd0001f47ffa
@codejosh this is the satisfaction rate, not the completion rate. the completion rate for this one seems to be about 19% (407 total times completed / 2128 warriors trained)
Is it really that obscure if you can Google it in a few minutes, and the completion rate is 82%?
Loading more items...