Skip to content

Glossary: Algorithms Beyond the Basics in Rust

Factorial (n!)

Also written: n!, n factorial

n × (n − 1) × ... × 1, the number of orders of n items. It grows even faster than 2ⁿ: 10 items have 3,628,800 orders.

Where the book teaches it

Related terms

PermutationExponential time