Golang Factorial Rekursion
func fact(n int) int {
if n == 0 {
return 1
}
return n * fact(n-1)
}
Annoyed Ant
func fact(n int) int {
if n == 0 {
return 1
}
return n * fact(n-1)
}