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

  Write a script that includes these statements coded

Write a script that includes these statements coded as a transaction. Why is it necessary to put the statements in 1A as a transaction

  Explain type of impact of bi software on businesses

Visit website of the vendor of your choice and research their BI (Business Intelligence) capabilities. Report to the class on your findings. What type of impact do you think the BI software you researched will have on businesses that make use of it..

  Better software tool internet explorer or mozilla firefox

There are several Internet browsers available today, and many people select which to use without giving it consideration. Explain which is better software tool: Internet Explorer, Mozilla Firefox, or Google Chrome?

  Build or destroy an organization

Downward communication can build or destroy an organization. Discuss

  How do i determine which hard/software i am suppose to use

How do I address specifications for input, processing, output, storage and control.

  Calculates the sum of two very long positive integer numbers

Write a method that calculates the sum of two very long positive integer numbers. The numbers are represented as array digits and the last digit (the ones) is stored in the array at index 0. Make the method work for all numbers with length up to 1..

  Calculate and print the sum and the average of the sequence

Write a program, which reads from the console N integers and prints them in reversed order. Use the Stack class.

  Define a descendant of linked list that has a method

Although the items in this list are not sorted, the new ADT is analogous to the ADT sorted list, which contains the method get Position.

  Data mining operations

Consider how a company such as DreamHome could benefit from data mining. Discuss, using examples, the data mining operations which could be most usefully applied within DreamHome.

  Identify maintainence issues for the site during operation.

Address LEGAL issues that must be considered for the site, both now and in the future.

  Car average between the two fillings

A motorist wants to determine her gas mileage. At 23,352 miles (on the odometer), the tank is filled. At 23,695 miles the tank is filled again with 14 gallons. How many miles per gallon did the car average between the two fillings?

  Different software packages to different departments

Did you explain how they would deploy different software packages to different departments?

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