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.
Super awesome, I had no idea you could do that either.
an important notice..
i see what i did now thank you Akar!
I forgot to return the function
This comment is hidden because it contains spoiler information about the solution
Explain to me how it is wrong ?
You're doing recursion wrong, also, before saying that something is broken check this:
Broken Compiler my logic works everywhere else
Ah that's great; thank you! It kept telling me test case
11 wasn't returning 2
- so I'd argue the feedback portion is unclear / broken; it should have shown905537 expected to return 2 but returned 11
.I did run 905537 in my Repl and confirmed that's what's wrong though. Back to the drawing board; appreciate the help!
Not a kata issue, your code is wrong. It's failing with
n = 905537
Code works perfectly in my Repl but once I carry it over to CodeWars it says it doesn't work. Test case 11 doesn't return 2 here but it returns 2 on Repl.
Code works on Repl exactly but for some reason the code refuses to work in Codewars. Tests that it's passing through won't work and not sure why :( (says it fails at the .toUpperCase portion)
This comment is hidden because it contains spoiler information about the solution
Drug addict ahhahahahahaha
lol go off i guess