* - Maintain a range [minOpen, maxOpen] of possible unmatched '(' counts while scanning the string. * - For '(' : minOpen++, maxOpen++. * - For ')' : minOpen ...