Introduction
I already have one post on this blog which explains the permutations code, now its time for the combinations.
The idea behind Combination of Numbers
Combination by definition is a concept of discrete mathematics which essentially relates to the act of selecting a list of items from a collection. For e.g. If I have to pick up 3 fruits from a basket of 10 fruits then what all ways are there to pick them up? Combinations is the answer to this question.
Let us say that I picked an Apple, a Banana and a Strawberry from the basket, then it really won't matter in what order I pi...

Read More