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.
well, if you can do it for 3 digits, you probably can do it for 1 digit. And then you are probably already very close to the solution. Good luck.
This comment is hidden because it contains spoiler information about the solution
since I don't know your code I wouldn't be able to tell. The submission tests contain a large number of random tests. So if your code contains any inefficiency, it will certainly time out.