PHP function to generate all permutations

To generate all permutations of a given set means to find all possible ways the elements of the set can be arranged. For example, if the given set is {1, 2, 3} the permutations are:

1 2 3 1 3 2 2 1 3 2 3 1 3 1 2 3 2 1

The number . . . → Read More: PHP function to generate all permutations

Categories

Archives

Calendar

August 2017
M T W T F S S
« Jul    
 123456
78910111213
14151617181920
21222324252627
28293031