Question d’entretien chez Primetrace

Leetcode array easy question, preferably form TUF's DSA sheet.