Question d’entretien chez Vista

Design a solution for this coding problem