Brackets all over-

what does it mean u r saying -
-At any index, number of opening brackets should be greater than closing brackets.
then at same point its written…
-No. of opening and closing brackets should be equal

it means at last No. of opening and closing brackets should be equal… i.e. at the end of string