Pregunta de entrevista de PwC

Situational problem asked for a technical solution.