Domanda di colloquio di Amazon

Coding Question : Graphs and Dynamic programming