I have spent a considerable amount of time in trying to find an algorithms which solves this problem.Most of the sites display the use of a recursive function to solve this problem.I am still relatively new to programming and not really able to understand the logic involved in the problems.It would totally be nice if someone tool time to completely elaborate and explain it. Thanks in advance.
Asked
Active
Viewed 66 times
-1
-
You should give some more details on your particular problem. For example, which programming language you are using and some example input and the expected output for that input. Also, [check if a similar question has already been answered](https://stackoverflow.com/search?q=permutations), as this is a quite common problem. – jdehesa Sep 04 '14 at 10:37
1 Answers
0
Please read this post
Understanding Recursion to generate permutations
hopefully it will helpful ...

Community
- 1
- 1

Zia Kiyani
- 812
- 5
- 21