单选题 适中
#20712

给定如下代码,其时间复杂度为( )。 int cellRecur ( int n ) { if ( n == 1 ) return 1 ; return cel…

给定如下代码,其时间复杂度为( )。

int cellRecur(int n) {
	if (n == 1)
		return 1;
	return cellRecur(n - 1) + cellRecur(n - 1) + 1;
}
未登录也能判分,登录后才会记录
答案与解析
正确答案:B
这道题暂未补解析。