mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 23:21:18 +08:00
Add factorial.
This commit is contained in:
parent
77e897b3b9
commit
a10009df64
@ -9,7 +9,7 @@ than or equal to `n`. For example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
| n | n! |
|
| n | n! |
|
||||||
| ----- | :-------------------------: |
|
| ----- | --------------------------: |
|
||||||
| 0 | 1 |
|
| 0 | 1 |
|
||||||
| 1 | 1 |
|
| 1 | 1 |
|
||||||
| 2 | 2 |
|
| 2 | 2 |
|
||||||
|
Loading…
Reference in New Issue
Block a user