Pregunta de entrevista de HSBC

What is dynamic programming? How and where do you use it