For example, if you take the array [1,2,3] and take 2 elements to generate an array, there will be three situations: [1,2], [1,3], and [2,3] (the same number inside will be counted as one) (for example, [1,2] and [2,1] are considered the same), please implement it, preferably js? Please give me more advice!
天蓬老师2017-05-18 10:57:51
Questions about permutations and combinations in high school http://www.cnblogs.com/kaiye/...