Select your answers. Once selected, you cannot change them.
You’re given a string of parentheses like ()(()))((). Your task is to find the length of the longest substring that is balanced (every opening ( has a matching closing )).
Write your solution below: