Does this suggest a divide-and-conquer algorithm

Assignment Help Basic Computer Science
Reference no: EM131361502

Which of the standard algorithm design paradigms are most relevant to my problem?

(a) Is there a set of items that can be sorted by size or some key? Does this sorted order make it easier to find the answer?

(b) Is there a way to split the problem in two smaller problems, perhaps by doing a binary search? How about partitioning the elements into big and small, or left and right? Does this suggest a divide-and-conquer algorithm?

(c) Do the input objects or desired solution have a natural left-to-right order, such as characters in a string, elements of a permutation, or leaves of a tree? Can I use dynamic programming to exploit this order?

(d) Are there certain operations being done repeatedly, such as searching, or finding the largest/smallest element? Can I use a data structure to speed up these queries? What about a dictionary/hash table or a heap/priority queue?

(e) Can I use random sampling to select which object to pick next? What about constructing many random configurations and picking the best one? Can I use some kind of directed randomness like simulated annealing to zoom in on the best solution?

(f) Can I formulate my problem as a linear program? How about an integer program?

(g) Does my problem seem something like satisfiability, the traveling salesman problem, or some other NP-complete problem? Might the problem be NP-complete and thus not have an efficient algorithm? Is it in the problem list in the back of Garey and Johnson [GJ79]?

Reference no: EM131361502

Questions Cloud

Why can''t this special-case algorithm be generalized : Does the problem become easier to solve when I set some of the input parameters to trivial values, such as 0 or 1?
Difference between quantitative and mixed methods : Describe the difference between quantitative and mixed methods, what are the general advantages and disadvantages of the two research approaches featured in the articles.
Prepare for heaven ltd the statement of financial position : Prepare, for Heaven Ltd, the statement of financial position, statement of changes in equity and notes thereto at 30 June 2016 in accordance with the requirements of AASB 101.
Internal validity of a study and recommendations : What are some of the concerns relating to the internal validity of a study and recommendations to strengthen it? How will the other 3 types of validity help? What are the dangers of failing to consider the validity of a research study?
Does this suggest a divide-and-conquer algorithm : Does my problem seem something like satisfiability, the traveling salesman problem, or some other NP-complete problem? Might the problem be NP-complete and thus not have an efficient algorithm? Is it in the problem list in the back of Garey and Jo..
Empirical rule to estimate the number of farms : Use the empirical rule to estimate the number of farms whose land and building values per acre are between $1100 and $1700.
Approximate percentage of the men : Heights of men on a baseball team have a bell-shaped distribution with a mean of 181 cm181 cm and a standard deviation of 8 cm8 cm. Using the empirical rule, what is the approximate percentage of the men between the following values?
Mean and standard deviation of the team times : a) What are the mean and standard deviation of the team times? b) Suppose that the teams best time to date is 9.9 minutes. What is the probability that the team beats its own best time?
How does giles define reflection : How does Giles define reflection - How does doing reflective writing help with the revision process?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explain hardware implementations of intelligent agents

There are hardware implementations of intelligent agents. Determine the literature instances of intelligent agents as software. Compare and contrast two implementations.

  Features of organization to make and use information systems

Write down the features of organizations do managers require to know about to make and use information systems successfully?

  How do you define e-commerce

What were some of the common mistakes made by many Web-based companies that failed during the dot-com bubble burst? Why were the managers of those companies unable to see they were headed for problems?

  Write code to declare and instantiate an object

Then write a list of expressions using the nextInt method that generates random numbers in the following specified ranges, including the end points. Use the version of the nextInt method that accepts a single integer parameter.

  Preferences of repeat customers

Angus McIndoe wants to modernize his popular restaurant by adapting it more closely to the preferences of his repeat customers. Keeping track of his customers' likes and dislikes.

  How many ounces of solid food did stacie consume

Stacie is a resident at your medical facility where I you work. You were asked to chart the amount of solid food that she consumed. For the noon meal today she ate 1/2 of a 3 ounce serving of meatloaf, 3/4 of her 3 ounce serving of mashed potatoes..

  Starting and naming a business

Shania Jackson is a mature Christian thinking of opening a Christian coffeehouse near Denver, Colorado. Her husband, Marvin, is open to making a contribution of capital to the business, but he has no interest in participating in its operation or m..

  Differences between centralized and distributed network

What are the differences between centralized and distributed network routing and which method is the most efficient for an organization's high volume website?

  What is the expected time to discover the correct password

Assume that passwords are selected from four-character combinations of 26 alphabetic characters. Assume that an adversary is able to attempt passwords at a rate of one per second.

  Follow ieee or acm paper templates

5 Pages or more, IEEE format for the paper, Try to have a suitable Title for the IEEE paper according to requirements. Make sure you include the OS listed plus the "others" Also, that all the 40 citations should be in the paper referenced. (5 onli..

  Operational platform preferences

Let's discuss the topic of industry standard operational platforms, PC versus MAC, Linux versus Windows, and lastly Oracle versus SQL Server. It's common for many individuals to strongly prefer one over the other as it relates to their chosen plat..

  Design for other types of testing

Usability testing is typically tightly integrated with design-for-usability or usercentered-design activities. Can you find some such integration between testing and design for other types of testing we described in this book?

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