|
|
||||
|
|
String Permutation Challenge Here is another mathematical problem, where the trick is as much to discover the algorithm as it is to write the code: write a program to display all possible permutations of a given input string. Input should be of the form permute stringand output should be a word per line. Here is a sample for the input cat cat cta act atc tac tca ----- |
|
||