balancedstring
nounUK /ˈbælənst strɪŋ/
US /ˈbælənst strɪŋ/
A string that has the same number of opening and closing marks, like brackets.
The teacher asked us to check if the code was a balancedstring before we ran it.
RELATED WORDS
OTHER MEANINGS
2. In computer science, a sequence of characters where every opening symbol is closed in the correct order.
The parser only accepts a balancedstring of parentheses and braces.
3. A cord or rope whose two sides are equal in length or tension.
The swing hung from a balancedstring so it did not tilt.
4. A set of text characters arranged so that no side is heavier or longer than the other.
The designer used a balancedstring of letters to make the logo look even.