Greedy algorithm works only if the local optimum is equal to the global optimum.
A: 正确
B: 错误
A: 正确
B: 错误
举一反三
- In a greedy algorithm, a decision made in one stage is not changed in a later stage. A: 正确 B: 错误
- Which of the following countries aced in the optimum use of gunpowder?
- Greedy method is a special case of local search. A: 正确 B: 错误
- 中国大学MOOC: meter元素用于表示指定范围内的数值。optimum表示( )
- meter元素的()属性用于定义范围内的最佳值。 A: low B: Value C: high D: optimum