Domanda di colloquio di Adyen

Basic dynamic programming problem, an sql problem and a design problem.