Question d’entretien chez Amazon

There were 2 questions which was based on dynamic programming.