1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
rodikova [14]
3 years ago
11

You are the interviewee during a job interview. The interviewer says, "I’ve a dynamic programming algorithm for the Subset-Sum p

roblem and its complexity is a polynomial of n and k", where n = |S| for an instance (S, k) of the SubsetSum problem. If you believe he found a polynomial time solution for a NP-complete problem, you should congratulate him for his success. If you don’t believe such an algorithm can exist, please point this out politely. If you think you can also create such an algorithm, please say so to the interviewer and do so here with the detailed time complexity analysis. What would be your response (you have to choose one of the three above with rationality)?

Mathematics
1 answer:
Brrunno [24]3 years ago
4 0

Answer:

There is no known polynomial time solution for this problem. But we can solve the problem in Pseudo-polynomial time using Dynamic programming.

Step-by-step explanation:

Look at the images to see the explanation.

you can also visit this web page https://www.geeksforgeeks.org/subset-sum-problem-dp-25/

You might be interested in
Rewrite 2/4 : 1/8 as a unit rate WILL GIVE BRAINLIEST
photoshop1234 [79]
This is a fraction equal to
2 1 ÷ 4 8

We want a unit rate where
1 is in the denominator,
so we divide top and bottom by 4

2 1 ÷ 4
4 8 ÷ 4
=
0.5 1
1 8
=
0.5 1
8
= 0.5 1 per 8
6 0
3 years ago
Write an equation of the line passing through the point (4, 2) that is perpendicular to the line 4x + 3y = 7
Dafna1 [17]

Answer:

can you be my new master?

Step-by-step explanation:

6 0
3 years ago
HELLO!!!!!!!!!!!????????????? ANYONE?!!!!!!!!!!!!!!!!!!!!!!!!!!! PLS??????????!!!!!!!!
bagirrra123 [75]

Answer:

i might be wrong but it thinks it's 6 to 3 or 6/3

Step-by-step explanation:

because of the 6 , 3 are rarely encountered so it would be 6/3

4 0
3 years ago
Can you help me on my homework
marshall27 [118]
The answer is #1. The mean of Team A is less than the mean of Team B, and the standard deviation of Team A is greater than the standard deviation of Team B.
6 0
4 years ago
Read 2 more answers
The ingredients for your braised ribs cost $11.32. You sell it for $20. What is
alex41 [277]

Answer:

.03472

Step-by-step explanation:

take sell price $20. subtract cost of 11.32 which equals 8.68. then divide 8.68 by the sell price $20

The formula for contribution margin is the sales price of a product minus its variable costs. In other words, calculating the contribution margin determines the sales amount left over after adjusting for the variable costs of selling additional products.

6 0
3 years ago
Read 2 more answers
Other questions:
  • Rene is going to the lake to visit some friends. If the lake is 60 miles away, and Rene is driving at 40 miles per hour the enti
    12·2 answers
  • Show all work. 6 - 1 |4x - 3| = -19
    15·1 answer
  • Lesledi has a box that is 36cm wide, 24cm high, and 20cm deep. She wants to fill the box with packages that are 12cm wide, 6cm h
    6·1 answer
  • the area of a rectangle is 2210 square feet if the length of the rectangle is 85 ft then what is the West​
    6·1 answer
  • The probability of a chance event is 0.3 it is _____ to happen when compared to a chance event with the probability of 0.4
    12·2 answers
  • Is line BC parallel to line DE? Choose the best justification. a Line BC is parallel to line DE because triangle ABC is a dilati
    12·1 answer
  • If sin f° = eight ninths and the measure of segment YW is 24 units, what is the measure of segment YX?
    8·1 answer
  • 6th grade math i mark as brainliest​
    9·1 answer
  • Simplify 5^4/5^3<br><br> 5^7<br> 5^-1<br> 1/5<br> 1/5^7
    10·1 answer
  • What is the slope of this graph?​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!