Zomato Interview Question

Longest balanced substring in a given string.