The Bracket Matching problem deals with parentheses ()
, square brackets []
, braces {}
and other syntactic elements that provide for nested syntactic structures with balanced sets of delimiters.
Bracket Stream ...[..{.}..{...[.[]..]..}...]...
Nesting Depth 00011122211222233443332221111000
ND BixNum[2] .................11.............
ND BixNum[1] ......111..111111..111111.......
ND BixNum[0] ...111...11....11..111...1111...