Generate all permutations of n entries in a w x h matrix

前端 未结 0 511
北海茫月
北海茫月 2020-12-29 07:43

I\'d like to generate all the permutations of n entries in a w x h matrix: example with a 2x2 matrix and n = 1:

| 1 0 |
| 0 0 |

| 0 1 |
| 0 0 |

| 0 0 |
| 1          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题