Help: Amex point只能转一个航空公司的一个账号吗?# Money - 海外理财
l*n
1 楼
you have n vector arrays: (1,2,3), (4,5,6), (7,8) You pick only one element
from each array. How do you generate all the permutataion of size n?
for example, output will be:
1 4 7
1 5 7
1 4 8
...
...
..
我知道怎么CODE permutation。但是具体要怎么改这个变体呢?
from each array. How do you generate all the permutataion of size n?
for example, output will be:
1 4 7
1 5 7
1 4 8
...
...
..
我知道怎么CODE permutation。但是具体要怎么改这个变体呢?