Step-by-step comparison between Permutation vs Combination

I remember the first time I got to know the concept of Permutation and Combination was back in my secondary school time. It was a really confusing concept to wrap my head around.

Lately, when I started practicing programming, Permutation and Combination came up again. However, this time, not the concept that caused me problem, but the actual programming technique that gave me a hard time to understand how to to implement them. Therefore, I decided to write this to hopefully have a more structured way to see the difference and how…