[求助]一道小题
说明下面算法的功能,并分析其时间复杂度分).
Algorithm1(a[l..r])
IF l==r THEN RETURN a[l];
ELSE [
mid = (l+r)/2;
t = Algorithm1(a[l..mid]);
temp = Algorithm1(a[mid+1..r]);
IF t < temp THEN t = temp;
RETURN t;]