✅ Finding all possibilities of N length in an array
Hey so I have the Following code which basically iterate on all my tiles and create arrays of 3 of them, iterating on all possibilities
I'm trying to make this code generic so instead of arrays of 3, it can be array of N, but I'm not sure how to approche that
Could someone please help me with that?
I'm trying to make this code generic so instead of arrays of 3, it can be array of N, but I'm not sure how to approche that
Could someone please help me with that?