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
I always forget about sets, guess I have to train on these, thanks for the tip!
Nice trick, I'll keep that in mind.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Agreed. My only issue readability. Even though it's easy for me to understand. I think it should be more readable for other coders who are fairly new. Helps them and the community grow much faster
This solution isn't a best practice because it can't find digit 9. E.g. for edge case of solution being [9, 9, 9], or any other solution where one of digits is 9, your tryCode function will not find a solution.