Reference no: EM131233907
1. Given T(n) = 16T(n/4) + n2 .
(a) Use master theorem to find out its asymptotic bounds.
(b) Use substitution method to prove its asymptotic bounds.
2. Given T(n) = T(3n/19)+5n. Use master theorem to find out its asymptotic bounds.
3. Assuming you have a task to sort the telephone numbers of a major carrier. What sorting algorithm will you use? Please justify your answers.
4. You are asked to modify the textbook version of Merge-Sort on page 31 into a new algorithm of Merge-Triplet-Sort. In Merge-Triplet-Sort, an input array A into three new arrays L, M, and R that stands for left, middle, and right. Assume the input array A always has a size of n = 3k, and you can divide A into three equal-sized new arrays.
(a) Please revise the textbook pseudo codes of Merge-Sort() and Merge() functions for your Merge-Triplet-Sort algorithm.
(b) Please find the asymptotic bounds for running time of Merge-Triplet Sort. You must show your procedure.
5. Please modify the pseudo code of Count-Sort algorithm on page 195 in the textbook such that an input array of numbers in the rage of [-n, n] can be sorted.
6. Modify Bucket-Sort pseudo code on page 201 in the textbook such that it can sort floating number in the rage of [-50, 50).
Textbook - Introduction to Algorithms, Third Edition by THOMAS H. CORMEN, CHARLES E. LEISERSON, RONALD L. RIVEST and CLIFFORD STEIN.
Discuss reference groups that may affect buying behavior
: State the specific outcomes and metrics for the organization change ? Discuss reference groups that may affect buying behavior. Be certain to include aspirational, membership and disassociative examples. Discuss social class. How does social class re..
|
Does amvac have a sustainable business strategy
: Does Amvac have a sustainable business strategy? Why or why not?Should the law prohibit Amvac and others from exporting pesticides barred from use in the United States? Why or why not?
|
Calculate the utilization of the three employees
: Calculate the utilization of the three employees. As an effort to improve operations, the manager has cross-trained the frozen drink maker and the Espresso drink maker, i.e., now each of them can make both frozen and espresso drinks. What is the util..
|
What are some of the major strategies and risks
: What are some of the major strategies and risks behind implementing cloud computing programs in today's technology filled world?
|
Use master theorem to find out its asymptotic bounds
: Given T(n) = 16T(n/4) + n2. Use master theorem to find out its asymptotic bounds. Use substitution method to prove its asymptotic bounds
|
Find the specific compressor work and the exit temperature
: A water-cooled air compressor takes air in at 20?C, 90 kPa and compresses it to 500 kPa. The isothermal efficiency is 88% and the actual compressor has the same heat transfer as the ideal one. Find the specific compressor work and the exit tempera..
|
System of overhead conveyor belts to send constant stream
: Whirlpool, a manufacturer of household appliances, uses a system of overhead conveyor belts to send a constant stream of parts to employees on the line throughout the plant. Beneath the conveyor belt is a netting or mesh screen to catch any parts or ..
|
Find the specific heat transfer and work
: A flow of R-410a at 2000 kPa, 40?C in an isothermal expander is brought to a state of 1000 kPa in a reversible process. Find the specific heat transfer and work.
|
Explain rationale for strategic alliance or joint venture
: Identify a global strategic alliance or a joint venture by a firm that is not your Strategic Audit firm, nor being studied by another student in your class. Explain the rationale for the strategic alliance or joint venture. Discuss how the strategic ..
|