Question d’entretien chez Pragmatic Play

Task from leetcode (easy level)