We shall consider the general method, employed by an adversa…
We shall consider the general method, employed by an adversary, to prove that no algorithm can always decide a given problem X using less than M questions. For that purpose, the adversary maintains Q, and R_1 … R_M, such that : 1. X(Q) is true2. X(R_i) is false for all i \in 1 … M and such that after k questions from the algorithm:3. Q is consistent with all k answers from the adversary 4. for all i in 1 … M, except for at most k such, it holds that R_i is consistent with all k answers from the adversary.For each declaration from the algorithm, how should the adversary respond?
Read DetailsFor the various knapsack problems, we have considered the gr…
For the various knapsack problems, we have considered the greedy strategy G of first picking as much as allowed of the most precious item (the one with highest value/weight ratio), next picking as much as allowed of the second most precious item, etc, etc. Match each version with the outcome guaranteed:
Read DetailsLinda’s manager told her to use caution when unp…
Linda’s manager told her to use caution when unpacking supplies on Tuesday mornings. “Make sure to pay attention to certain products and chemicals that are incompatible,” he said. What should Linda make sure she does with these types of products?
Read DetailsDuring the construction of a recent office building, your co…
During the construction of a recent office building, your company’s framing crew installed 515 linear feet of 8-foot-high, metal-stud wall in two days. The crew consisted of two carpenters and one helper and worked eight hours per day. What is the productivity rate in labor hours per foot of wall for installing metal-stud walls on this project?
Read Details