Question d’entretien chez IBM

coding round with easy code and a sql question