forked fromtrekhleb/javascript-algorithms
- Notifications
You must be signed in to change notification settings - Fork0
Commitc5ed81d
Add recursive factorial function (trekhleb#85)
* Fix LinkedList* Fix the prepend method for the LinkedList* Fix the remove method for the MinHeap* Correct a comment* Fix BST removal method* Fix the findEdge method of the graph* Fix the value returned by DisjointSet union* Add recursive factorial function1 parent65f08db commitc5ed81d
File tree
2 files changed
+18
-0
lines changed- src/algorithms/math/factorial
- __test__
2 files changed
+18
-0
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + |
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + |
0 commit comments
Comments
(0)