Link Details

Link 96857 thumbnail
User 278445 avatar

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.
  • 10
  • 1
  • 1309
  • 488

Comments

Add your comment
User 211643 avatar

zynasis replied ago:

0 votes Vote down Vote up Reply

easily done with a stack

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (1)