{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

scan0024

# scan0024 - MIDTERM EXAM#1(continued PROBLEM#5(continued The...

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MIDTERM EXAM #1 (continued) PROBLEM #5 (continued) The maximum element of a l-element set can be determined in 0(1) time using a single processor, so clearly k of recursive applications of the above procedure sufﬁce to solve the original problem, where k is given by the equation (circle one): (12) 0:1—k8 k=1—s 0:1—(2k—1)a k=log28 and so (circle one): 1 (13) 10g2(1+e") - logns 8 recursive applications of the 0(1) procedure of steps (1) through (4) suffice to solve the original problem. Since the sum of 0(1) many functions, each of which is 0(1), is itself 0(1) , the solution of the original problem requires no more than 0(1) time using 11 1+8 processors for any ﬁxed 8 > 0. //end ...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern