Boeing interview question

Explain Dynamic Programming as simply as you can.