Domanda di colloquio di Amazon

Dynamic programming questions with strict bounds