Pregunta de entrevista de Deliveroo

Leetcode medium on dynamic programming and greedy algorithm