PIMCO interview question

what is dynamic programming and give examples.