Question d’entretien chez Meta

Standard leetcode style question, with AI available in one interview