Question d’entretien chez Zomato

Longest balanced substring in a given string.