Question d’entretien chez Braze

I'm guessing some typical HackerRank question.