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
Help me with my math please
katrin2010 [14]
B?..... I think it’s not a reflection it would be upside down .. it’s not moved half the space
3 0
3 years ago
A computer downloaded 20 kilobytes of data in 4 seconds. If it downloads data at a constant speed, it can download ______ kiloby
ohaa [14]
Hello,

let's say v the speed of transmission
v=20kB/4s=5 kB/s

Data downloaded =v*t=5kB/s*15s= 75 kB*s/s= 75 kB.
7 0
3 years ago
Read 2 more answers
A 12 lb shankless ham contains 16 servings. What is the rate in servings per pound?
11Alexandr11 [23.1K]
There are four-thirds servings per pound
6 0
3 years ago
Read 2 more answers
What is a, b and c of the quadratic function 3x2−2x+1=0 ?
patriot [66]
Your answer is C. 

3(1)2-2(2)+1=3
3=3 

Hope i helped!
7 0
4 years ago
If a denotes radius of circle, find area of circle. Please help!!!! Thank you.​
zhenek [66]
Area of a circle is pi multiplied by radius squared. If radius is a, then area is pi times a squared
6 0
3 years ago
Other questions:
  • Answerrrr please . thanks xoxo<br> y-2&gt;11
    8·2 answers
  • You need at least 120 cupcakes for a picnic. So far, people have donated 96 cupcakes. Solving the inequality c + 96 ≥ 120 will t
    6·2 answers
  • Mei paints and sells ceramic vases for $35 each. Each month she typically breaks 3 vases in the kiln. How much money will she ea
    8·1 answer
  • Penny percent. Suppose you flip a coin 100 times, with 53 tosses landing heads up. What percentage of the tosses would be heads?
    12·2 answers
  • 141.1933-67.53 =<br> (Divided, not minus)
    5·1 answer
  • What is 3,024 divided by 24
    5·2 answers
  • It takes 12 hours for a single hose to fill a large vat. When a second hose is added, the vat can be filled in 4 hours.
    11·2 answers
  • A class has three fewer girls than boys. If the ratio of girls to boys is four to five, how many students are there in the class
    6·2 answers
  • Find the perimeter of this shape please help I will award brainlisest
    15·2 answers
  • A recipe calls for 1\frac{1}{2}1 1 2 cups of sugar for every 2 eggs. Find the rate of cups of sugar per egg called for by the re
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!