1 / 11
Télécharger la présentation
Algorithms HW#3 Solution
An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.
Content is provided to you AS IS for your information and personal use only.
Download presentation by click this link.
While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
During download, if you can't get a presentation, the file might be deleted by the publisher.
E N D
Presentation Transcript
Algorithms HW#3Solution 李孟、施舜元 2014
HW#3 Problem 2(a) , 1 * 1000 ,
HW#3 Problem 2(b) • f • f , ,
HW#3 Problem 4 • Let , and T(1) = 1, T(2) = 3 • , 3
HW#3 Problem 1 • Below is a theorem from Manber'sbook:For all constants and , and for all monotonically increasing functions , we have . • Prove, by using the above theorem, that for all constants , .
HW#3 Problem 1 (cont.) • let , is monotonically increasing function • Proved.
HW#3 Problem 5 • Use Equation 1, shown below, to prove that satisfies • Bounding a summation by an integral • If f (x) is a monotonically increasing continuous function, then
HW#3 Problem 5 (cont.) f(n) S(n) = O(n)
More Related