Question

In: Computer Science

Can all problems in Karp 21 be solved using an Exhaustive search or Brute force? And...

Can all problems in Karp 21 be solved using an Exhaustive search or Brute force? And why

Solutions

Expert Solution

Karp 21 Problems :

The Karps 21 is a set of problem statements which are np-complete problems.NP-complete means that set of all decision problems whose solutions can be verified in polynomial time; NP may be equivalently defined as the set of decision problems that can be solved in polynomial time on a non-deterministic Turing machine.They are developed by Richard Karp and Steven Cook.

Can all problems in karp 21 be solved by Exhaustive search or Brut force?

The answer to this question is YES.The reason is that, we know karp 21 is an NP-complete problem.So, it will only be an NP-complete problem when it can be solved by a restricted class of Brute force algorithm.This one of the main feature of NP-complete problems.We also know exhaustive search is simply a brute force approach to combinatorial problem.

So all the problems in karp 21 can be solved by using Exhaustive Search or Brute force.


Related Solutions

String search   Describe the brute force solution to counting the number of times the letter “a”...
String search   Describe the brute force solution to counting the number of times the letter “a” occurs in a text. Outline a divide-and-conquer algorithm for counting the number of times the letter “a” occurs in a text. Analyze each approach and compare the efficiencies.
Not all externality problems can be solved by the private sector. True or False? Explain your...
Not all externality problems can be solved by the private sector. True or False? Explain your answer making reference to the Coase Theorem.
What are the problems that occur with concrete that can be solved by nanotechnology?
What are the problems that occur with concrete that can be solved by nanotechnology?
3.       How many successful and unsuccessful comparisons will by made using brute force string matching in a...
3.       How many successful and unsuccessful comparisons will by made using brute force string matching in a binary string of 1000 zeros while trying to match the following patters: a.       1000 b.       0001 c.       00010
Sometimes, brute force is the best we can do. Consider the following prob- lem: You live...
Sometimes, brute force is the best we can do. Consider the following prob- lem: You live in a building of n floors. Someone keeps throwing eggs out of a balcony on some unknown floor f . At each time slot, this person will throw an egg. At each time slot, you can go to a balcony on any floor and attempt to save the egg. If the balcony you chose is below the thrower’s, you save the egg. If, however,...
These problems may be solved using Minitab. Copy and paste the appropriate Minitab output into a...
These problems may be solved using Minitab. Copy and paste the appropriate Minitab output into a word-processed file. Add your explanations of the output near the Minitab output. DO NOT SIMPLY ATTACH PAGES OF OUTPUT AS AN APPENDIX. Each problem should be able to fit on one or two pages, and each problem should include the following: Minitab output for the ANOVA. Written statement interpreting the ANOVA. Four-in-one plot of the residuals. Written interpretation as to whether the three assumptions...
Describe the three types of problems that can be solved on computers and provide one example...
Describe the three types of problems that can be solved on computers and provide one example for each problem.   
Design a physics problems (with numbers and can be solved) related to electric, circuits, magnetic field,...
Design a physics problems (with numbers and can be solved) related to electric, circuits, magnetic field, electric field, wave (light, sound, diffraction) and has real world context (chirstmas light, iron, cost of electric bills, rainbow, magnet....). The problem needs to include a background information. The situation is "rich" enough to need a picture drawn. The physics scenario is more challenging that just plugging numbers into one of the equations. - The problem needs to come from a real world context...
What can go wrong in an international pollution market? How could these problems be solved?
What can go wrong in an international pollution market? How could these problems be solved?
Which of the following problems cannot be solved using a proportional relationship? (i) A 30-mile drive...
Which of the following problems cannot be solved using a proportional relationship? (i) A 30-mile drive is about 48.3 kilometers. Approximately how many kilometers is a 60-mile drive? (ii) A gallon of gas costs $3.49 on October 8, 2011 at the Chevron station on the corner of Imola and Soscol. What does 10 gallons of gas cost on that same day at the same station? (iii) A car travels 50 miles in 2 hours in heavy traffic. How long does...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT