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.
Hi @ChichoZeDo - thanks for your message! You did the hard work, and you learned in one single day some of the most important things about coding puzzles: 1) never give up and 2) think first, code second.
Congratulations, and good luck with Codewars and on your coding journey.
Hi @ChichoZeDo - if you'd like a little hint: forget about coding/modules/packages/loops/etc. for now, and just think about how you could solve this problem in the real world - maybe if the board were printed on a piece of paper for example.
Try reading other comments.
ìtertools.product
does fundamentally the same as a nested loop. This won't work.