I need to find all possible distinct permutations of the digits a given number.
2143 ... n so on.
can any please tell me how do i proceed ? i have devised an algorithm myself, which swaps consecutive numbers... but it works only for 3 digit numbers. but the above mentioned problem needs to work for all numbers.
plzzz help ...
"[b]The[blue] GEEK[/blue] Shall Inherit The Earth" ;-) [/b]
0 · ·