Solved The Solution Should Be A Dynamic Programming Algorithm

Solved The Solution Should Be A Dynamic Programming Algorithm