Question d’entretien chez Basis Worldwide

Array manipulation type question and then a leetcode easy.