Question d’entretien chez Tripadvisor

Leetcode easy- balanced bracket question with a single bracket.