Module solve_leetcode::problems::problem_0064::hash_factorial[][src]

Expand description
 Permutations for  1234

      4, 3, 2
 0 => 0, 0, 0   => 1234
 1 => 1, 0, 0   => 2134
 2 => 2, 0, 0   => 3214
 3 => 3, 0, 0   => 4231
 4 => 0, 1, 0   => 1324
 5 => 1, 1, 0   => 2314
 6 => 2, 1, 0   => 3124
 7 => 3, 1, 0   => 4321
 8 => 0, 2, 0   => 1432
 9 => 1, 2, 0   => 2431
10 => 2, 2, 0   => 3412
11 => 3, 2, 0   => 4132
12 => 0, 0, 1   => 1243
13 => 1, 0, 1   => 2143
14 => 2, 0, 1   => 3241
15 => 3, 0, 1   => 4213

Functions