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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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