知识卡片
排列要求次序且不重复
- n个不同元素全排列有n!种;
- 只取k个且不重复的有序排列有n!/(n−k)!种。
计数时先确认顺序重要、元素不能重用。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 附录C 计数与概率 · 查看原书依据
A permutation of a finite set S is an ordered sequence of all the elements of S, with each element appearing exactly once. For example, if S = {a, b, c}, then S has 6 permutations: abc
参考来源
- 位置:《算法导论(第4版)》附录C《计数与概率》(OEBPS/appendix003.xhtml,文本字符[0,5000))。
- 结论依据:附录C的计数定义、概率公理和例子;公式图Art_P1636–P1677逐项查看。
- 原始内容:A permutation of a finite set S is an ordered sequence of all the elements of S , with each element appearing exactly once. For example, if S = { a , b , c }, then S has 6 permutations: abc