Glossary: Algorithms Beyond the Basics in JavaScript
Factorial (n!)
Also written: n!, n factorial
The product of all whole numbers from 1 up to n. It counts the possible orders of n items, so three cafés have 3! = 6 routes.
Glossary: Algorithms Beyond the Basics in JavaScript
Also written: n!, n factorial
The product of all whole numbers from 1 up to n. It counts the possible orders of n items, so three cafés have 3! = 6 routes.