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
It's true, thanks for replying!
99/10 results in 9, not 9.9. Integer division.
I got confused, for example with the entry n = 99.
I know that in the first step of the recursion the result is 81, but when It comes to the next step, the conditional gives you that you have to square the BASE (1010) and this is multiplied with the function with the entry (99/10)
and back to the function again, 9.9 is minor than BASE, so I return 9.99.9 and this is multiplied with (10*10) and this is summed with 81 (the first step) and the result is 9882, which I don't understand why is not correct. Please can you explain how it works with this specific example??
This is the most clever solution I've found here!!
I like it a lot, thanks for sharing