int factorial(int n) {
if (n == 0) {
return 1; // 递归基
}
int temp = factorial(n - 1); // 递
return n * temp; // 归
}
栈底 (Stack Bottom)