Will there be an improvement in the performance

Assignment Help Management Information Sys
Reference no: EM132141169

Question :

Suppose that, in a divide and conquer algorithm, we divide an instance of size n of a problem into 16 sub instances of size n/4 and the dividing takes O(1) time (you may ignore this step). Then we combine the results which takes n2 operations.

Assume the next step the algorithm does is to sort the combined results. We use Insertion sort to sort the elements.

a. What is the recurrence equation for the running time, T(n)?

b. Solve for T(n).

c. If the algorithm used Quicksort instead (which has a complexity of theta (n log n)), then what is the running T(n) of the algorithm? Will there be an improvement in the performance? Explain your answer.

Reference no: EM132141169

Questions Cloud

Would kickstarter be an effective way to promote your band : Suppose you and four friends have a band. You think you're pretty good, but you don't have even a college-wide reputation.
Show that the minimum spanning tree for g is unique : Suppose G is an undirected, connected, weighted graph such that the edges in G have distinct edge weights.
Charitable deduction for 2018 : In 2018 Aman gave his church $50,000 in cash. He also gave his alma mater university another $70,000 of appreciated stock (basis of $18,000).
What amount must he include in this year tax return : Malcolm claimed the standard deduction last year. What amount must he include in this year's tax return as gross income?
Will there be an improvement in the performance : Assume the next step the algorithm does is to sort the combined results. We use Insertion sort to sort the elements.
Maximum deduction for interest expenses : If her interest expense for the year is $100,000, how much will her maximum deduction for interest expenses be?
Which of the above classes should be abstract classes : Should the getter and setter methods for the properties be declared as virtual or non-virtual? Why?
Deduction for making the maximum contribution : How much can Billy contribute to a traditional IRA? What is Billy's deduction for making the maximum contribution?
Student loan interest deduction : They are married and file a joint return. What is Noel's and Noelle's student loan interest deduction?

Reviews

Write a Review

Management Information Sys Questions & Answers

  Describe the purpose of integrity constraints

Describe the purpose of integrity constraints and identify the main types of integrity constraints on a logical data model.

  Research websites and other technologies that provide

research websites and other technologies that provide private information on u.s. citizens.please help me respond to

  How does an erp system give management control

How does an ERP system like SAP simplify looking up customer numbers, setting a delivery date, and charging a unique price to a given customer? Include a discussion of master data. What is document flow? Why is it important for auditors of a compan..

  What are the four steps in making a decision

What are the four types of decisions discussed?- Give an example of each.- What are the four steps in making a decision?

  Technology implementation problem

Technology Implementation Problem - Give your ideas on how the following information should or should not be shared by technical and nontechnical staff

  Describe the different organizational structures

Describe the different organizational structures as it relates to project management (i.e., functional, project-based, matrix). Discuss at least two (two) different roles that project managers can play in organizational leadership.

  How has the ehr changed the way healthcare functions today

You have learned a great deal about the roles and functions of the electronic health record (EHR) in healthcare. How has the EHR changed the way healthcare functions today

  Analyze the need for business systems analysis

Analyze the need for business systems analysis and the role of project management in health care organizations as they pertain to the evolution of EMRs.

  Describe context in which balanced scorecard would be used

Describe the context in which the Balanced Scorecard and the IT framework would be used. The paper should 3-4 pages in APA format, not counting the title and reference pages.

  Technology and internationalization

Technology and Internationalization - Determine how changes and advances in technology have served

  Converting from fahrenheit to celsius

Converting from Fahrenheit to Celsius

  Explain symmetric key cryptography

Explain Cipher and key, in reference to classic cryptography. Explain Symmetric Key Cryptography. Explain public-key cryptography?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd