Consider a word "MACBETH"......and the no of permutations can be done with the 7 letters of MACBETH is 7! or 5040......My objective to write a program which will print all the permutations of MACBETH......The code should be a generalised one and can be valid for any problems or words like "Statistics"---where 3 's' ,2 't' and 2 'i' already present..........
Please give me a hint to solve it
Please give me a hint to solve it