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.
You're doing recursion wrong. You need to return the function call too.
Post your code using markdown formatting and marking your post as having spoiler content so we can help you.
I am not the JS translator but for 195 the reference solution returns
(3)(5)(13)
; for 4238285 it returns(5)(847657)
. Both are correct. Print your input and your output to see what happens. Did you mix expected and got?As you could have seen at the top of the page, 996 guys passed the JS kata so there could be something wrong in your code. Cheers.
Not a problem of the kata but could be a CW one.