Alsalam 3likoum
i would to generate all possibility of permutation but ido't need to repeat this generation ,i written a code that generate all possibility but , i found many possible are repated .
like that
if you have these no. 1 ,2 ,3
so all possibility that i needed
1
2
3
1,2
1,3
2,3
1,2,3
but when i run my prog. generate that
1
2
3
1,2
2,1
..
...