Domanda di colloquio di Nasdaq

One was simple problem where GREEDY approach worked. Another was a Medium-High DP problem.