Pregunta de entrevista de VTXRM - Software Factory

Find the most optimal solution to this problem