Problem clarification and contract
10%Senior signals
- ✓Clarifies whether non-bracket characters should be ignored or make the string invalid, and confirms the empty string is balanced.
- ✓Confirms all three bracket types must nest correctly relative to each other, not just be individually balanced.
Staff-level signals
- ◆Asks whether this validates user input in a production parser and what should happen on invalid input there.
Common red flags
- ×Starts coding without confirming how non-bracket characters are treated.
