Domanda di colloquio di Compass

Questions on dynamic programming and greedy algorithms