(1)Multiplying two n bit numbers u and v straightforwardly requires O(n^2) steps.By using the divide-and-conquer approach,we can split the number into equal parts and compute the product by the following method:uv = (a*2^n/2+b)(c*2^n/2+d)=ac*2^n+(ad+bc)*2^n/2+bdIf ad+bc is computed as (a+b)(c+d)-ac-bd,what is the computing time?
(2)Design an O(nlogn) time algorithm to find the longest monotonically increasing subsequence of a sequence of n numbers.
以上兩題都是課本後面的練習題 題目連意思都不太懂 ...