the bookstore has n books the price of ith book is A[i] the bookstore has restrictions in buying books. you cannot buy the ith book if you have less than B(i) dollars even if you have the price of the book A(i). knapsack problem
PLEASE answer fast interview question
Attachments:
Answers
Answered by
0
Answer:
A bookstore owner bought a shipment of n books at a total cost of E dollars, and plans to sell each of the books at the same price and make a 15 percent profit on the entire shipment,. If x of the books were damaged and impossible to sell, how many dollars more than she had originally planned must the owner charge for each of the remaining books in order to make the desired profit on the shipment?
A.
B.
C.
D.
E.
Similar questions