Question d’entretien chez Anonymous

Write the code either in c++ or python