|
|
|||||
|
Get the Ebook
C Tutorial
Source Code
Function Reference
|
Challenges - Permutation ChallengeString 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--if the string contains duplicate characters, you may have multiple repeated results. 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
Want to become a C++ programmer? The Cprogramming.com ebook, Jumping into C++, will walk you through it, step-by-step. Get Jumping into C++ today!
Popular pages
Custom Search
|
||||