Welcome![Sign In][Sign Up]
Location:
Downloads WEB Code
Title: Matching-brackets Download
  • Category:
  • Document
  • Tags:
  • [WORD]
  • File Size:
  • 12.78kb
  • Update:
  • 2008-10-13
  • Downloads:
  • 1 Times
  • Uploaded by:
  • aandt
 Description: Data Structure 1, Algorithm idea: the assumption that the expression contains two types of brackets: parentheses and brackets, the nested sequence of random, that is, or ([]()) [([])] such as the correct format, [( ]) or ([()) or (()] are not the correct format. test match brackets can be used to achieve when the stack (or [into the stack when encountered) or] when a stack test match , if the situation does not match an immediate end to, or continue to remove a character. If you do not encounter the situation does not match, the last to judge whether the stack is empty, the stack is empty, parentheses matching, otherwise do not match.
 Downloaders recently: [More information of uploader aandt]
File list (Check if you may need any files):

CodeBus www.codebus.net