Combinatorial algorithms April 23, 2016 martin This is a collection of combinatorial algorithms I’ve written in C. Subsets Subsets using Gray codes Partitions Cartesian product Permutations Combinations Multicombinations Combinations of a multiset Subsets of a multiset K-permutations