以下C++实现的递归gcd程序的最差时间复杂度为?
int gcd(int m, int n) {
if (m == 0)
return n;
return gcd(n % m, m);
}
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析