mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-25 22:46:20 +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! |
|
||||
| ----- | :-------------------------: |
|
||||
| ----- | --------------------------: |
|
||||
| 0 | 1 |
|
||||
| 1 | 1 |
|
||||
| 2 | 2 |
|
||||
|
Loading…
Reference in New Issue
Block a user