What is the difference between permutations and combinations?

368 views

What is the difference between permutations and combinations?

In: 25

6 Answers

Anonymous 0 Comments

The difference is that for permutations, order matters.

A combination is a set or perhaps a group. A grocery list is a great example of a combination. If you buy different foods, you have a different combination. But if you walk through the aisles in a different order and still collect all the same food, that’s the same. The order you pick up the food in doesn’t matter.

A permutation is a sequence. Fighting games use permutations of button inputs to represent different attacks. One attack might be left-down-up-x and another could be up-left-down-x. Even though the same combination of button inputs are used, it is a different permutation, so it does a different attack.

You are viewing 1 out of 6 answers, click here to view all answers.