n函数的输入在哪里可以是任何整数.
n
i = n, total = 0; while (i > 0) { for (j=0; j<i; j++) for (k=0; k<i; k++) total++; i = i/4; }
这个函数的时间复杂度是多少?
algorithm math big-o recurrence asymptotic-complexity
algorithm ×1
asymptotic-complexity ×1
big-o ×1
math ×1
recurrence ×1