Question d’entretien chez Pulsenics

Some weird brain teaser and algorithm question