Anonymous user
Permutations: Difference between revisions
→{{header|Eiffel}}
Line 1,310:
permute (a: ARRAY [INTEGER]; k: INTEGER)
-- All permutations of 'a'.
require
count_positive: a.count > 0
|
Line 1,310:
permute (a: ARRAY [INTEGER]; k: INTEGER)
-- All permutations of 'a'.
require
count_positive: a.count > 0
|