BracketsMatching

所属分类数据结构
开发工具:Java
文件大小:7KB
下载次数:0
上传日期:2018-05-29 23:22:59
上 传 者校花@的贴
说明:  用栈实现括号匹配 思想:在表达式中,相同类型的括号(包括:()、[]、{})是成对出现的,并且当括号在表达式中嵌套时,不允许出现交叉现象。 检验括号匹配的方法,就是对给定的字符串依次检验:若是左括号,入栈;若是又括号,出栈一个左括号判断是否与之匹配;是其他字符,不检验。检验到字符串尾,还要检查栈是否为空。只有栈空,整个字符串才是括号匹配的
(Implement parenthesis matching with stack)

文件列表
BracketsMatching\.classpath, 301 , 2017-10-26
BracketsMatching\.project, 392 , 2017-10-30
BracketsMatching\.settings\org.eclipse.jdt.core.prefs, 598 , 2017-10-26
BracketsMatching\bin\matchingofbrackets\InterfeceOfSplit.class, 239 , 2018-05-29
BracketsMatching\bin\matchingofbrackets\IsMaching.class, 1487 , 2018-05-29
BracketsMatching\bin\matchingofbrackets\ParenthesisMatching.class, 1232 , 2018-05-29
BracketsMatching\bin\matchingofbrackets\Split.class, 1462 , 2018-05-29
BracketsMatching\bin\matchingofbrackets\Stack.class, 871 , 2018-05-29
BracketsMatching\src\matchingofbrackets\InterfeceOfSplit.java, 368 , 2017-10-30
BracketsMatching\src\matchingofbrackets\IsMaching.java, 1231 , 2017-10-30
BracketsMatching\src\matchingofbrackets\ParenthesisMatching.java, 588 , 2017-10-30
BracketsMatching\src\matchingofbrackets\Split.java, 1894 , 2017-10-30
BracketsMatching\src\matchingofbrackets\Stack.java, 490 , 2017-10-30
BracketsMatching\bin\matchingofbrackets, 0 , 2018-05-29
BracketsMatching\src\matchingofbrackets, 0 , 2017-10-30
BracketsMatching\.settings, 0 , 2017-10-30
BracketsMatching\bin, 0 , 2018-05-29
BracketsMatching\src, 0 , 2017-10-30
BracketsMatching, 0 , 2017-10-30

近期下载者

相关文件

评论我要评论

收藏者