知识卡片
组合忽略挑选次序
从n个元素中取k个形成子集时,选择顺序不重要。
每个组合对应k!个排列,所以组合数为n!/[k!(n−k)!];取0个元素也有1种选择。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
- · 组合忽略挑选次序
原书出处 · 1 处
- 附录C 计数与概率 · 查看原书依据
A k-combination of an n-set S is simply a k-subset of S. For example, the 4-set {a, b, c, d} has six 2-combinations: ab, ac, ad, bc, bd, cd. (Here we use the shorthand of
参考来源
- 位置:《算法导论(第4版)》附录C《计数与概率》(OEBPS/appendix003.xhtml,文本字符[0,5000))。
- 结论依据:附录C的计数定义、概率公理和例子;公式图Art_P1636–P1677逐项查看。
- 原始内容:A k-combination of an n -set S is simply a k -subset of S . For example, the 4-set { a, b, c, d } has six 2-combinations: ab , ac , ad , bc , bd , cd . (Here we use the shorthand of