Any ONE who can solve this problem....
"Permutations: The challenge is to find the algorithm used to create all possible permutations of a given string"

Recommended Answers

All 3 Replies

Please try to make some effort to do your OWN homework!!!!
Here several programmers can solve it without even blink of an eye, BUT I am pretty sure no one will take this bait to solve your school homework.

Mind it,ITS Not my school homework. I got this challenge from the site i.e. "CProgramming.com" and the link is :"http://www.cprogramming.com/helpfree.html"
And ,LET me Tell you, I am not of those who do such rediculous things as You Have Assumed. So Sorry, I just wanted to share that problem with You people.

Use the next_permutation algorithm that's part of the C++ standard library.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.