Solution for Combinations.
Solution for Permutations.
Solution for Permutation2.
Solution for Subsets.
Solution for Subsets 2.