Question d’entretien chez SunPower

Balanced brackets {([])} similar question as leet code problem