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 i took ur advice Ken, but is not that cheating? :P
Edit:Its fixed Now :)
Katas like this have a simple way of solving. Create an array of the required numbers as global variable/object so that you don't have to calculate them again and again. This is why it's a 6 kyu. I hope this helps.
count 1 each time you "use" a letter, and you can use every letter only one single time.
it's somewhat a spoiler, yes. Sort of.
You're on the good path, somehow, but to pass, you'll need to find a way to avoid the recursion. Your structure is a good base to get to the solution and achieve that. But now you have the hardest part to find.
You should just drop this idea, and implement a path-finding algorithm. Brute-forcing will never work.
.