Domanda di colloquio di Gusto

How would you solve this problem in production?