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
sveticcg [70]
3 years ago
5

Given an array A = [a1, a2, . . . , an] of nonnegative integers, consider the following problems: 1 P Partition: Determine wheth

er there is a subset P ⊆ [n] ([n] := {1, 2, · · · , n}) such that i∈P ai = P j∈[n]\P aj 2 Subset Sum: Given some integer k, determine whether there is a subset P ⊆ [n] such that P i∈P ai = k 3 Knapsack: Given some set of items each with weight wi and value vi , and fixed numbers W and V , determine whether there is some subset P ⊆ [n] such that P P i∈P wi ≤ W and i∈P vi ≥ V For each of the following clearly describe your reduction, justify runtime and correctness.(a) Find a linear time reduction from Subset Sum to Partition.(b) Find a linear time reduction from Subset Sum to Knapsack.
Mathematics
1 answer:
boyakko [2]3 years ago
5 0

Answer:

i think the answer is a

Step-by-step explanation:

You might be interested in
What is -310.5 as a fraction​
Elza [17]

Answer:

- 310.5/100

Step-by-step explanation:

3 0
3 years ago
Read 2 more answers
PLEASE HELP !!!!!!!Find<br><br> y, such that ABC ~A<br> DEF.
Lemur [1.5K]

Use proportionals to find y.

\frac{9}{18}  =  \frac{6}{y}

Answer:y=12

7 0
2 years ago
Solve for X and show all work: 6x^2+x=2
Ksenya-84 [330]
Hope this helps good luck

3 0
3 years ago
Please help and give the reasons. <br> Given: 4(x - 8) = 2x + 12<br> Prove: x = 22
statuscvo [17]

Answer:

Step-by-step explanation:

Step 2 expansion of bracket

Step 4 grouping of like terms

Step 4 division property

4 0
3 years ago
Write <br> 40<br> as a product of prime factors.
neonofarm [45]
40 | \div 2 \\&#10;20 | \div 2 \\&#10;10 | \div 2 \\&#10;5 \\ \\&#10;\boxed{40=2 \times 2 \times 2 \times 5}
3 0
3 years ago
Read 2 more answers
Other questions:
  • What percent of the DVD's cost between $14.50 and $26.00?​
    13·2 answers
  • Parallelogram RECT is a rectangle. If EC = x + y , RT = 2x - y, RE = 2x + y, and TC = 3x - 3 , what are the values of the variab
    6·1 answer
  • The width and length of a rectangle (in feet) are consecutive odd integers. If the length is increased by 5 feet, the area of th
    8·2 answers
  • D=c-s/n answer for n
    10·1 answer
  • A field test for a new exam was given to randomly selected seniors. The exams were graded, and the sample mean and sample standa
    13·1 answer
  • Ashley wants to empty her fish tank
    5·2 answers
  • Please help me with number 13 and 14
    6·2 answers
  • Joaquin was putting numbers on a number line. Which number is NOT placed correctly on the number line?
    7·1 answer
  • Can someone help me answer these two questions i will give you brainliest
    13·1 answer
  • Hi i need help with the second questions i got the first one though :) <br> thanks
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!