Question d’entretien chez Huawei Technologies

Find a bug in the string brackets problem.