Question d’entretien chez Desquared

Write a small function that performs an asked operation Questions about algorithms complexity