i have a problem with permutation array.
most algorithm related to permutation, list down all permutation for n!.
however, i would like to generate c++ output as follows:
which is we fix the element '1', and cycle others. and soon. i hope anyone can help me.