A simply put questions: starting from this
A A B B
how can you obtain these?
AABB BBAA ABBA BAAB ABAB BABA
I’m trying to obtain k-combinations and k-permutations directly in Grasshopper, any input would be highly appreciated.
I already figured out how to delete duplicate entries, so if your method gives back things like
AA BB and A A BB
as two different things, it’s perfectly fine for me.
Thank you in advance!