algorithm - What is the professional term for the combination of the selection in n out of the total m elements? -
i know number of combinations called ncr, exact outcomes?
for example: have 3 elements a,b,c , param 2, have outcomes ab ac ba bc ca cb
i want search different implementations of this. don't know term should input in google.
just realized question wrong.
you speaking combinations yet expecting results "ab" , "ba". basic property of combinations fact unordered, is, set {a, b, c}, 2-combinations {ab}, {ac}, {bc}, nothing else.
the term looking variation or partial permutation. variations, order of elements matters.
Comments
Post a Comment