The problem, in one line. A string holds open brackets, close brackets and wildcards, and each wildcard may be an open bracket, a close bracket or nothing. Say whether some choice makes the string balanced. LeetCode 678.
The tell. A balance check with a wildcard that has several values. Instead of picking a value for each wildcard, track the whole range of balances that are still possible.