摘要: 输入数组和排列数:[1,2,3,4] 3 输出: [[1, 2, 3],[1, 2, 4],[1, 3, 4],[ 2, 3, 4]] function combination(arr, m) { let res = []; handle([], arr, m); return res; funct 阅读全文
posted @ 2022-04-20 17:52 这个攻城狮不太冷静 阅读(21) 评论(0) 推荐(0) 编辑