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.
These simple things makes me feel stupid every kata again xD
test it with 999, thats a better test to do.
Logic = Concise code.
What a genius
magnificent
as in description: "The input will be a non-negative integer."
magnificent)
based
wild
Sorcery 🔥
Spoiler flag, please.
This comment is hidden because it contains spoiler information about the solution
What sorcery is this?
But it doesnt say use recursion in a programming sense. It says Digital Root is a recursive sum mathematically (its also iterative). You dont have to use recursion to work it out though...
Saying that I like your solution its nice and easy to read.