Hi,
I want to solve a problem( to be honest its my homework )
given two string, the print the permutation in ordered form.
Example:
Please enter the first string:> abc
Please enter the second string:> mn
Results will be: abcmn abmnc amnbc mnabc mabcn manbc mabnc ambnc ambcn abmcn
can anyone help me with the algorithm?
Regards