JavaScript:实现给定两个数字 n 和 k,使 k 数字的所有唯一组合从 1 到 n 并按排序顺序算法
class Combinations {
constructor (n, k) {
this.n = n
this.k = k
this
class Combinations {
constructor (n, k) {
this.n = n
this.k = k
this