如果使用贪婪方法可以解决优化问题,那么它的所有最优解都必须始终包含第一个选择(即贪婪的选择)吗?
algorithm optimization greedy
algorithm ×1
greedy ×1
optimization ×1