If a dynamic programming problem satisfies the optimal substructure property,
then a locally optimal solution is a global optimal.
The worst case running time and expected running time are equal to within cons
tant factors for any randomized algorithm. (這個敘述跟dp沒有關係,放在一起問
而已)
請問這兩個敘述錯在哪邊?