Pregunta de entrevista de Adyen

Backtracking question for technical round