下面程序的时间复杂度为( )。
int fib(int n) { if (n <= 1) return 1; return fib(n - 1) + fib(n - 2); }
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。