📅  最后修改于: 2022-03-11 14:48:05.433000             🧑  作者: Mango
代码示例1
int fibonacci(int n) {
if (n == 0 || n == 1) return n;
return fibonacci(n - 1) + fibonacci(n - 2);
}
var result = fibonacci(20);