leetcode No.509斐波那契数

mac2025-09-20  57

class Solution { public int fib(int N) { if(N==0||N==1) return N; else return fib(N-1)+fib(N-2); } }
最新回复(0)