Skip to content
This repository has been archived by the owner on May 8, 2019. It is now read-only.

Commit

Permalink
Add factorial
Browse files Browse the repository at this point in the history
  • Loading branch information
kuychaco committed Nov 19, 2015
1 parent f3ac57c commit a612cd3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recursion/factorial.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
Implement factorial.
factorial(5) => 5*4*3*2*1 => 120
*/

0 comments on commit a612cd3

Please sign in to comment.