I tried but still I can't find any easy to understand way to do permutation in c/c++ can anybody please help with.It is urgent.
Actually I am looking for algo which display all permutation of a no like for "123" it should display all permutation i.e.
123
132
213
231
312
321
Actually I am looking for algo which display all permutation of a no like for "123" it should display all permutation i.e.
123
132
213
231
312
321
Last edited: