By Shaharyr
via dev102.com
Published: Jul 21 2008 / 15:17
Your input is a string which is composed from bracket characters. The allowed characters are:’(', ‘)’, ‘['. ']‘, ‘{’, ‘}’, ‘>’. Your mission is to determine whether the brackets structure is legal or not.
Comments
zynasis replied ago:
easily done with a stack
Voters For This Link (10)
Voters Against This Link (1)