Question d’entretien chez Nagarro

two coding question in tech interview.