mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-22 19:36:06 +00:00
fix(time-complexity): fixed some careless mistakes
This commit is contained in:
@@ -117,7 +117,7 @@ func linearLogRecur(n float32) int {
|
||||
return count
|
||||
}
|
||||
|
||||
/* 阶乘阶(递归实现) */
|
||||
// factorialRecur 阶乘阶(递归实现)
|
||||
func factorialRecur(n int) int {
|
||||
if n == 0 {
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user