Question d’entretien chez Block

I was asked an easy LeetCode question.