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.
The thing is to understand how to integrate info from Wiki into the code. Yes, eventually it is simple. That is why it is Kata 6. Newbies will definitely get stuck, if they don't know recursion basics.
Good kata!
Genius
This comment is hidden because it contains spoiler information about the solution
because it return a string you can add parseInt. let integer = parseInt(digitalArray.join(""));
This comment is hidden because it contains spoiler information about the solution
Wow... That is a solution. I understand this unexpected mistake now. Thank you. Now it works just fine.
Does your solution return correct answers when called more than one time in a row?
This comment is hidden because it contains spoiler information about the solution