Y do u go for too much of complexity try this one better .
#include<iostream>
#include<fstream>
using namespace std;
int main(int argc,char *argv[])
{
Type: Posts; User: kiddy
Y do u go for too much of complexity try this one better .
#include<iostream>
#include<fstream>
using namespace std;
int main(int argc,char *argv[])
{
Hi All!
This is my code for generating the permutations for a number input,it takes an array of size n!*n where n is the input no., to find out the permutation.Please help me.
FOLLOWS MY...
Help me to program on with an input n, returns a list of all permutations of the numbers 1, 2, ..., n. Use the fact that all permutations of 1, 2,..., n can be obtained from all the permutations of...