题解 | #阶乘#
阶乘
http://www.nowcoder.com/practice/39fcf876fab34fe8afc298de10a1e112
function _factorial(number) {
if(number==1){return 1}
return number*_factorial(number-1)
}
阶乘
http://www.nowcoder.com/practice/39fcf876fab34fe8afc298de10a1e112
function _factorial(number) {
if(number==1){return 1}
return number*_factorial(number-1)
}
相关推荐