Glossary: Algorithms Beyond the Basics in Java
factorial (n!)
Also written: n!, n factorial
The product n × (n−1) × … × 1, which counts the orderings of n items (3 items give 6). It grows even faster than 2ⁿ.
Glossary: Algorithms Beyond the Basics in Java
Also written: n!, n factorial
The product n × (n−1) × … × 1, which counts the orderings of n items (3 items give 6). It grows even faster than 2ⁿ.