Question d’entretien chez GlobalLogic

Some random array based Leetcode question.