Commit cd7111a
Added tests & normal function convertion (TheAlgorithms#445)
* added factorial calculator recursively
* added tests and converted to normal function
* Added tests & normal function convertion
* Update factorialCalculator.js
updated code "design" not sure why test fails on such arbitrary things.
* Update and rename factorialCalculator.js to factorial.js
Co-authored-by: vinayak <itssvinayak@gmail.com>1 parent 63e6e06 commit cd7111a
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments