Greedy Algorithms Concepts

Review strategy choices and proofs.

1. What is the primary characteristic of a greedy algorithm?
2. Which of the following problems is typically solved using a greedy algorithm?
3. What two key properties must a problem satisfy for a greedy algorithm to guarantee an optimal solution?
4. Which of the following are examples of greedy algorithms?
5. Which properties describe problems suitable for greedy algorithms?
6. The 'greedy choice property' states that a globally optimal solution can be reached by making locally optimal (greedy) choices at each step.
7. The 0-1 Knapsack problem can be optimally solved using a greedy algorithm.
8. What term describes the property that a globally optimal solution contains optimal solutions to its subproblems?
9. Name the greedy algorithm that finds a minimum spanning tree by adding edges in increasing order of weight, avoiding cycles using a union-find data structure.
10. What greedy algorithm constructs variable-length prefix codes with minimum total length, commonly used in data compression?
Answered 0 of 0 — 0 correct