Question d’entretien chez Improbable

Leetcode style medium problem, array based