Question d’entretien chez Google

How to solve the problem