Is any algorythem that can arrange two or more different blocks in all possible ways.. in series (rows and columns.)?
If I have two colored(red and blue) blocks and I try to arranged in one possible way... see the example image.
please give me such solution that can arrange all possible ways to arrange blocks. If we have "N" number of block than How many ways to generate design from "N" blocks in all possible ways.
Thanks in advanced