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.
Nice use of recursive algorithms! 👏
I'm curious why this isn't best-practice?
Compared to the current best-practice solution, this solution is self documenting and requires no prior knowledge of the
itertools.product
library function.Hi Ananyats, it would have been better if you asked a specific question or comment to complement your code. If you just wanted to show us your code, no need, we can already see it in the "solutions" page.