• JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    ·
    8 days ago

    They’re used in permutations and combinations a lot. Combinations is pretty obvious based on the name. Given X things, how many ways are there to choose Y. Permutations are the same but where order matters.

    For example, if you shuffle a deck of cards properly randomly there will be 52! possible orderings (permutations).